:root {
  --ink: #171815;
  --paper: #ffffff;
  --white: #fff;
  --line: #ddd9cf;
  --soft: #ffffff;
  --muted: #77736b;
  --olive: #505947;
  --serif-en: "Cormorant Garamond", Georgia, serif;
  --serif-zh: "Noto Serif TC", "Songti TC", "PMingLiU", "Times New Roman", serif;
  --sans-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans-zh);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.wordmark {
  font-family: var(--serif-en);
  font-size: 1.75rem;
  letter-spacing: .025em;
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 34px;
  margin-left: 54px;
  margin-right: auto;
}
.site-nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #6f6d67;
  text-decoration: none;
  font-size: .84rem;
}
.site-nav a:hover,
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--ink);
}
.header-note {
  border: 1px solid var(--line);
  padding: 8px 11px;
  font-family: var(--serif-en);
  font-size: .75rem;
  letter-spacing: .14em;
  color: #67645d;
}

.hero-shell {
  max-width: 1208px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) 24px clamp(64px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(330px, .96fr) minmax(440px, 1.04fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 23px;
  font-family: "Courier New", monospace;
  font-size: .75rem;
  letter-spacing: .2em;
  font-weight: 400;
  color: #596151;
}
.hero-copy h1,
.join-intro h2 {
  margin: 0;
  font-family: var(--serif-zh);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.28;
}
.hero-copy h1 { font-size: clamp(2rem, 3vw, 3rem); }
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-lead {
  max-width: 520px;
  margin: 26px 0 24px;
  color: #706d66;
  font-size: 1rem;
  line-height: 1.85;
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.text-link span { color: var(--olive); }
.hero-image-wrap { margin: 0; position: relative; }
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
}
.principles {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.principles article { padding: 34px 36px 40px; }
.principles article + article { border-left: 1px solid var(--line); }
.principles article > span {
  font-family: "Courier New", monospace;
  color: var(--olive);
  font-size: .85rem;
}
.principles h2 {
  margin: 40px 0 12px;
  font-family: var(--serif-zh);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}
.principles p { margin: 0; color: var(--muted); max-width: 340px; font-size: .92rem; }

.join-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(78px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(52px, 7vw, 88px);
  align-items: start;
}
.join-intro { position: sticky; top: 120px; }
.join-intro h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.join-intro > p:not(.eyebrow) {
  margin: 28px 0;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.9;
}
.privacy-note {
  display: flex;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: 480px;
  color: #62625b;
  font-size: .88rem;
}
.privacy-note span { color: var(--olive); }
.privacy-note p { margin: 0; }

.waitlist-form,
.success-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(25px, 3.5vw, 44px);
}
.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.form-heading span { font-family: var(--serif-zh); font-size: 1.55rem; }
.form-heading p { margin: 0; font-size: .82rem; color: var(--muted); }
.waitlist-form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.waitlist-form legend,
.waitlist-form > label,
.field-row label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.waitlist-form b { color: var(--olive); }
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.role-option {
  position: relative;
  cursor: pointer;
}
.role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.role-option span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: .9rem;
  font-weight: 500;
  transition: .18s ease;
}
.role-option input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.role-option input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.waitlist-form > label,
.field-row label { margin-bottom: 20px; }
.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form input[type="url"] {
  width: 100%;
  min-height: 52px;
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}
.waitlist-form input::placeholder { color: #aaa79f; }
.waitlist-form input:focus { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(89, 97, 76, .12); }
.check-row {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500 !important;
  color: #5f5e57;
  cursor: pointer;
}
.check-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--olive); flex: 0 0 auto; }
.consent-row { font-size: .8rem !important; }
.submit-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.submit-button:hover { background: #343630; }
.submit-button:active { transform: translateY(1px); }
.submit-button:disabled { cursor: wait; opacity: .68; }
.form-error { color: #9f2f2f; font-size: .88rem; margin: 14px 0 0; }

.success-card { min-height: 480px; display: flex; flex-direction: column; justify-content: center; }
.success-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--olive);
  color: white;
  font-size: 1.4rem;
  margin-bottom: 35px;
}
.success-card h3 { margin: 0 0 14px; font-family: var(--serif-zh); font-size: 2.2rem; font-weight: 400; }
.success-card > p:not(.eyebrow) { color: var(--muted); max-width: 480px; }
.success-card button { margin-top: 28px; align-self: flex-start; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 5px 0; cursor: pointer; }

footer {
  min-height: 180px;
  padding: 48px clamp(22px, 5vw, 74px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
footer span { font-family: var(--serif-en); font-size: 1.8rem; }
footer p { margin: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-image-wrap { order: -1; }
  .hero-image { aspect-ratio: 16 / 11; }
  .principles { grid-template-columns: 1fr; margin: 0 22px; }
  .principles article + article { border-left: 0; border-top: 1px solid var(--line); }
  .join-section { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
  .join-intro { position: static; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; }
  .header-note { font-size: .68rem; letter-spacing: .07em; }
  .hero-shell { gap: 34px; padding-bottom: 48px; }
  .hero-copy h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .hero-lead { margin-top: 24px; line-height: 1.8; }
  .principles { margin: 0; }
  .principles article { padding: 32px 22px; }
  .principles h2 { margin-top: 24px; }
  .join-section { padding-top: 76px; gap: 40px; }
  .role-grid, .field-row { grid-template-columns: 1fr; }
  .role-option span { min-height: 52px; }
  footer { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
