/* ==========================================================================
   1. VARIABLES & RESET (調整為深 BTC 橘色)
   ========================================================================== */
:root {
  --bg: #e2ded4;
  --paper: #ece8df;
  --ink: #141614;
  --muted: #646862;
  --line: rgba(20, 22, 20, 0.18);
  --accent: #D97706; /* 沉穩深 BTC 橘色 */
  --card: #f6f3eb;

  --serif: "Noto Serif TC", serif;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "DM Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--serif);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
}

.page-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.section-shell {
  padding: 100px 5vw;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.overline {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.section-number {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  z-index: 100;
  background: rgba(226, 222, 212, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
}

.brand-mark-circle {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.site-header nav {
  display: flex;
  gap: 32px;
}

.site-header nav a {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--accent);
}

.header-contact {
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 16px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.header-contact:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 180px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-side {
  padding-top: 10px;
}

.hero-portrait-clear {
  margin: 0 0 24px;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: #d8d5cb;
  border: 1px solid rgba(20, 22, 20, 0.25);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
}

.hero-portrait-clear img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.02) contrast(1.02);
  transition: transform 0.5s ease;
}

.hero-portrait-clear:hover img {
  transform: scale(1.02);
}

.hero-side p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.text-link {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  display: inline-block;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.orbit {
  margin: 60px 0;
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.scroll-line {
  flex-grow: 1;
  height: 1px;
  background: var(--line);
  margin: 0 20px;
}

/* ==========================================================================
   4. STATEMENT SECTION
   ========================================================================== */
.statement {
  border-top: 1px solid var(--line);
}

.statement-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

.statement-copy .body-copy {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 750px;
  line-height: 1.8;
}

/* ==========================================================================
   5. PRACTICE SECTION (02)
   ========================================================================== */
.practice {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.practice-list {
  display: flex;
  flex-direction: column;
}

.practice-item {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.practice-item:last-child {
  border-bottom: 1px solid var(--line);
}

.practice-item:hover {
  padding-left: 16px;
  color: var(--accent);
}

.practice-item span:first-child {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}

.practice-item h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.practice-item p {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.practice-item .arrow {
  font-size: 1.2rem;
}

/* ==========================================================================
   6. THINKING & BOOKS SECTION (03)
   ========================================================================== */
.thinking {
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.dark-heading .overline,
.dark-heading .section-number {
  color: rgba(236, 232, 223, 0.6);
}

.sub-heading-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

/* 新增：書籍區塊樣式 */
.books-section {
  margin-bottom: 50px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.book-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: var(--paper);
  transition: all 0.3s ease;
}

.book-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.book-cover-wrapper {
  width: 90px;
  height: 125px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #2a2d2a;
}

.book-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--paper);
  background: #2a2d2a;
  padding: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.book-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.book-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.book-info p {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(236, 232, 223, 0.7);
}

.article-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.article {
  background: rgba(255, 255, 255, 0.05);
  padding: 36px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.article:hover {
  border-color: var(--accent);
}

.article-type {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.article h3 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
}

.article-arrow {
  align-self: flex-end;
  font-size: 1.2rem;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.publication-links span {
  color: rgba(236, 232, 223, 0.5);
}

.publication-links a {
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.publication-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   7. CLIENTS & ADVISORY SECTION (04)
   ========================================================================== */
.clients-section {
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.client-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(20, 22, 20, 0.15);
  height: 95px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.client-card img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.client-card:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.client-card:hover img {
  filter: grayscale(0%) opacity(1);
}

.client-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
}

/* ==========================================================================
   8. PUBLIC WORK SECTION (05)
   ========================================================================== */
.public-work {
  border-top: 1px solid var(--line);
}

.public-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.feature-card {
  background: var(--card);
  padding: 40px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.big-symbol {
  font-size: 3rem;
  display: block;
  margin: 16px 0;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card .meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.public-list {
  display: flex;
  flex-direction: column;
}

.public-list a {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  align-items: center;
  transition: color 0.2s ease;
}

.public-list a:hover {
  color: var(--accent);
}

.public-list span:first-child {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.public-list p {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.public-list h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================================================
   9. ABOUT SECTION (06)
   ========================================================================== */
.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.about-portrait {
  margin-top: 24px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--ink);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.credentials div span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.credentials div p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.credential-link {
  color: var(--ink);
  text-decoration: none;
}

.credential-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   10. CONTACT SECTION & FOOTER
   ========================================================================== */
.contact {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 40px;
}

.contact h2 em {
  font-style: normal;
  color: var(--accent);
}

.contact-link {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 40px;
}

footer {
  padding: 40px 5vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

.social-links {
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN (行動裝置適應)
   ========================================================================== */
@media (max-width: 900px) {
  .site-header nav {
    display: none;
  }
  
  .hero-grid,
  .books-grid,
  .article-grid,
  .public-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .credentials {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}