:root {
  --ink: #1c1814;
  --ink-soft: #3a342c;
  --muted: #6b6256;
  --gold: #c4a574;
  --gold-dk: #8c6d3a;
  --gold-lt: #e8d7b0;
  --cream: #f7f1e4;
  --paper: #fbf7ef;
  --white: #fffdf8;
  --stone: #5c5346;
  --line: rgba(140, 109, 58, 0.28);
  --shadow: 0 18px 50px rgba(28, 24, 20, 0.12);
  --radius: 18px;
  --nav-h: 76px;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Hiragino Sans GB", sans-serif;
  --en: "Cormorant Garamond", Georgia, serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.no-js { }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dk); text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.2; }
.brand-name small { display: block; font-family: var(--en); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-dk); background: rgba(196, 165, 116, 0.14); }
.menu-btn { flex-shrink: 0; }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang button {
  border: 0; background: transparent; padding: 6px 10px; cursor: pointer;
  color: var(--muted); font-size: 12px; letter-spacing: 0.08em;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.menu-btn {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  padding: 0; color: var(--ink); font-size: 22px; line-height: 42px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,24,20,0.35) 0%, rgba(28,24,20,0.55) 45%, rgba(28,24,20,0.78) 100%),
    url("../assets/hero-well.jpg") center/cover no-repeat;
  transform: scale(1.04);
}
#ripple { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content {
  position: relative; z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  padding: 72px 0 80px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.22em; font-size: 12px; text-transform: uppercase;
  color: var(--gold-lt);
  flex-wrap: wrap; justify-content: center;
  max-width: 100%;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.08;
  margin: 18px 0 8px;
  font-weight: 700;
}
.hero h1 .en {
  display: block;
  font-family: var(--en);
  font-weight: 500;
  font-size: 0.38em;
  letter-spacing: 0.12em;
  color: var(--gold-lt);
  margin-top: 10px;
}

.lede {
  max-width: 640px; margin: 12px auto 28px;
  font-size: 18px; color: rgba(255,253,248,0.88);
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; border: 1px solid transparent;
  cursor: pointer; font-size: 15px; transition: 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #2c2620; }
.btn-line { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--gold-dk); color: var(--gold-dk); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: -36px auto 0;
  position: relative; z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--en); font-size: 32px; color: var(--gold-dk); line-height: 1.1;
}
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, #f3ead8 0%, var(--paper) 100%); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  color: var(--gold-dk); letter-spacing: 0.22em; font-size: 12px; text-transform: uppercase;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin: 8px 0 16px;
}
.sub { color: var(--muted); max-width: 62ch; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.well-quote {
  font-family: var(--serif);
  font-size: 22px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin: 22px 0;
  color: var(--ink-soft);
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.founder-card img { width: 100%; height: 420px; object-fit: cover; object-position: 50% 18%; }
.founder-meta { padding: 20px 22px 24px; }
.founder-meta h3 { margin: 0; font-family: var(--serif); font-size: 24px; }
.founder-meta .role { color: var(--gold-dk); font-size: 14px; margin: 4px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--cream); color: var(--stone); border: 1px solid var(--line);
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover, .card.open { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card .num {
  font-family: var(--en); color: var(--gold-dk); font-size: 28px; display: block; margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, margin 0.35s;
  color: var(--ink-soft); font-size: 14.5px;
}
.card.open .more { max-height: 220px; margin-top: 12px; }

.wizard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.steps { display: flex; gap: 10px; margin-bottom: 18px; }
.step-dot {
  flex: 1; height: 4px; border-radius: 99px; background: var(--cream);
}
.step-dot.on { background: var(--gold); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice {
  border: 1px solid var(--line); background: var(--paper); border-radius: 16px;
  padding: 18px 14px; cursor: pointer; text-align: left;
}
.choice:hover, .choice.picked { border-color: var(--gold-dk); background: #fff; }
.choice b { display: block; font-family: var(--serif); margin-bottom: 4px; }
.choice span { color: var(--muted); font-size: 13px; }
.result-box {
  display: none;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-radius: 16px; padding: 20px; border: 1px solid var(--line);
}
.result-box.show { display: block; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.tab {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 16px; cursor: pointer; color: var(--ink-soft);
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.panel { display: none; }
.panel.active { display: block; }

.tour {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px; min-height: 420px;
}
.days { display: flex; flex-direction: column; gap: 8px; }
#bnetDays { max-height: 420px; overflow-y: auto; }
.day {
  border: 1px solid var(--line); background: var(--white); border-radius: 14px;
  padding: 12px 14px; cursor: pointer; text-align: left;
}
.day[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.day small { display: block; opacity: 0.7; font-size: 12px; }
.tour-view {
  border-radius: 20px; overflow: hidden; position: relative; min-height: 420px;
  border: 1px solid var(--line);
}
.tour-view img { width: 100%; height: 420px; object-fit: cover; }
.tour-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 18px;
  background: linear-gradient(transparent, rgba(28,24,20,0.88));
  color: #fff;
}
.tour-caption h3 { margin: 0 0 6px; font-family: var(--serif); }
.tour-caption p { margin: 0; color: rgba(255,255,255,0.86); font-size: 14.5px; }

.price {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px dashed var(--line);
}
.price b { font-family: var(--en); font-size: 28px; color: var(--gold-dk); }
.work-block { margin: 28px 0 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.work-block:last-child { border-bottom: 0; padding-bottom: 0; }
.igia-brand { margin: 0 0 18px; }
.igia-brand img { max-height: 168px; width: auto; max-width: min(420px, 100%); }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.partner {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.partner-logo {
  height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.partner-logo img {
  max-height: 88px; max-width: 92%; width: auto; height: auto; object-fit: contain;
}
.partner h3 { margin: 0 0 6px; font-size: 16px; font-family: var(--serif); }
.partner p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; }
.contact-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); min-width: 88px; font-size: 13px; }
form { display: grid; gap: 12px; }
label { font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; background: var(--white); color: var(--ink); font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { display: none; background: #eef6ea; color: #2d5a2a; padding: 12px 14px; border-radius: 12px; }
.form-ok.show { display: block; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  background: #f3ead8;
}
.foot {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img.chop { width: 72px; }
.legal { color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .brand-name { font-size: 13px; }
  .brand-name small { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); padding: 16px 20px 20px; border-bottom: 1px solid var(--line);
    align-items: stretch; margin-left: 0;
  }
  .menu-btn {
    display: inline-block;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-inner { padding-right: 52px; }
  .split, .split.reverse, .tour, .contact-grid, .grid-4, .grid-3, .grid-2, .partners { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .choices { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .founder-card img { height: 340px; }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  .eyebrow { letter-spacing: 0.12em; font-size: 11px; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .lede { font-size: 16px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; animation: none; }
}

.page-hero {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); margin: 8px 0 12px; }
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 48px; }
.essay-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.essay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.essay-card img { width: 100%; height: 150px; object-fit: cover; }
.essay-card .pad { padding: 16px 18px 20px; }
.essay-card .num { font-family: var(--en); color: var(--gold-dk); font-size: 14px; }
.essay-card h3 { font-family: var(--serif); font-size: 18px; margin: 6px 0 8px; line-height: 1.35; }
.essay-card p { margin: 0; color: var(--muted); font-size: 14px; }
.author-box {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; margin: 0 0 48px;
}
.article { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 64px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.article h1 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; margin: 8px 0 18px; }
.article h2 { font-family: var(--serif); font-size: 22px; margin: 28px 0 10px; }
.article p { margin: 0 0 16px; }
.article .byline { color: var(--muted); font-size: 14px; }
.article ul { margin: 0 0 16px; padding-left: 1.2em; }
.article li { margin: 0 0 8px; }
.article figure { margin: 20px 0 24px; }
.article figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.article figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.lang-block[hidden] { display: none !important; }
@media (max-width: 900px) {
  .essay-grid { grid-template-columns: 1fr; }
}
