/* ==========================================================================
   采綺室內設計 CAIQI INTERIOR DESIGN
   Quiet Luxury Warm Editorial Design System (Inspired by Cynthia i-cynthia)
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --bg-greige: #f4f0ea;
  --bg-linen: #faf8f5;
  --bg-sand: #ebe4d9;

  --ink-primary: #2d2926;
  --ink-secondary: #685f57;
  --ink-muted: #988e84;

  --brand-umber: #5f4d37;
  --brand-umber-hover: #473928;
  --brand-gold: #b6915b;
  --brand-gold-soft: #d2b484;
  --brand-clay: #ae8368;
  --footer-dark: #443c35;
  --footer-darker: #362f29;

  --border-subtle: rgba(95, 77, 55, 0.14);
  --border-strong: rgba(95, 77, 55, 0.28);

  --font-serif-en: "Cormorant Garamond", Georgia, serif;
  --font-serif-zh: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 82px;
  --max-w: 1280px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(45, 41, 38, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-emblem {
  width: 44px;
  height: 38px;
  flex-shrink: 0;
}

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

.brand-zh {
  font-family: var(--font-serif-zh);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-primary);
}

.brand-en {
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--brand-gold);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brand-gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cms-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--brand-clay);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: background var(--transition), transform var(--transition);
}

.nav-cms-btn:hover,
.nav-cms-btn.active {
  background: var(--brand-umber);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #faf8f5;
  z-index: 999;
  padding: 106px 28px 96px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-serif-zh);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--ink-primary);
}

.mobile-link span {
  font-family: var(--font-serif-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--brand-gold);
  min-width: 92px;
}

.mobile-link-cms {
  color: var(--brand-umber);
  font-weight: 500;
}

/* ==========================================================================
   Common Typography & Signature Bilingual Buttons
   ========================================================================== */
.app-main {
  padding-top: var(--header-h);
  min-height: calc(100vh - 200px);
}

.section {
  padding: 104px 0;
}

.section-greige {
  background: var(--bg-greige);
}

.section-linen {
  background: var(--bg-linen);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.eyebrow {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif-zh);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.45;
}

.section-divider {
  width: 44px;
  height: 1px;
  background: var(--brand-gold);
  margin: 22px auto 0;
}

.section-divider-left {
  margin-left: 0;
}

/* Signature Cynthia Stacked Bilingual Sharp Button */
.btn-bilingual {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 34px;
  background: var(--brand-umber);
  color: #fff;
  border: 1px solid var(--brand-umber);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-bilingual:hover {
  background: var(--brand-umber-hover);
  transform: translateY(-2px);
}

.btn-bilingual-outline {
  background: transparent;
  color: var(--brand-umber);
  border: 1px solid var(--brand-umber);
}

.btn-bilingual-outline:hover {
  background: var(--brand-umber);
  color: #fff;
}

.btn-bilingual .btn-en {
  font-family: var(--font-serif-en);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.2;
}

.btn-bilingual .btn-zh {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-top: 3px;
  opacity: 0.92;
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--brand-umber);
  color: #fff;
  border: 1px solid var(--brand-umber);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-inline:hover {
  background: var(--brand-umber-hover);
}

.btn-inline-outline {
  background: transparent;
  color: var(--brand-umber);
}

.btn-inline-outline:hover {
  background: var(--brand-umber);
  color: #fff;
}

.btn-danger {
  background: #9f463d;
  border-color: #9f463d;
  color: #fff;
}

.btn-danger:hover {
  background: #7f332c;
}

/* ==========================================================================
   HOME: Full-Bleed Architectural Hero Carousel
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 540px;
  max-height: 820px;
  overflow: hidden;
  background: #221e1a;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 22, 18, 0.72) 0%,
    rgba(26, 22, 18, 0.22) 45%,
    rgba(26, 22, 18, 0.12) 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  z-index: 5;
  color: #fff;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-eyebrow {
  font-family: var(--font-serif-en);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-gold-soft);
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif-zh);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 300;
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  backdrop-filter: blur(6px);
  background: rgba(45, 41, 38, 0.25);
  transition: all var(--transition);
  white-space: nowrap;
}

.hero-cta-link:hover {
  background: #fff;
  color: var(--ink-primary);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.hero-arrow:hover {
  background: rgba(95, 77, 55, 0.85);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 2px;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.hero-dot.active {
  background: var(--brand-gold-soft);
  width: 52px;
}

/* Trust Strip (Mirroring Cynthia's Greige Certification Band) */
.trust-strip {
  background: var(--bg-greige);
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  position: relative;
  padding: 0 12px;
}

.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.trust-num {
  font-family: var(--font-serif-en);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--brand-umber);
  letter-spacing: 0.1em;
  display: block;
}

.trust-label {
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   Asymmetric 50/50 Editorial Splits (Cynthia's Signature Rhythm)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-grid.reverse .split-media {
  order: 2;
}

.split-grid.reverse .split-copy {
  order: 1;
}

.split-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-greige);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-media:hover img {
  transform: scale(1.03);
}

.split-copy .section-title {
  text-align: left;
}

.split-lead {
  font-family: var(--font-serif-zh);
  font-size: 1.08rem;
  color: var(--brand-umber);
  letter-spacing: 0.08em;
  margin: 18px 0 16px;
}

.split-text {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.95;
  margin: 0 0 28px;
}

.split-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.meta-pill {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--brand-umber);
  border: 1px solid var(--border-strong);
  padding: 5px 13px;
  background: var(--bg-linen);
}

/* ==========================================================================
   Portfolio Grid (Ultra-Clean Sharp-Cornered Magazine Cards)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 28px;
}

.portfolio-card {
  cursor: pointer;
  group: card;
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg-greige);
  aspect-ratio: 4 / 3;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-style-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-umber);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 4px 11px;
  backdrop-filter: blur(4px);
}

.portfolio-caption {
  text-align: center;
  padding: 18px 8px 4px;
}

.portfolio-title {
  font-family: var(--font-serif-zh);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-primary);
  margin: 0 0 6px;
  transition: color var(--transition);
}

.portfolio-card:hover .portfolio-title {
  color: var(--brand-gold);
}

.portfolio-specs {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0;
}

.section-cta-center {
  text-align: center;
  margin-top: 56px;
}

/* ==========================================================================
   Page Banner (Tailored Typographic Header — Clean & Elevated)
   ========================================================================== */
.page-hero {
  background: var(--bg-greige);
  padding: 76px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-desc {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  letter-spacing: 0.06em;
}

/* Two-Tier Clean Filters (Fixes Cynthia's Mixed Tag Cloud) */
.filter-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.filter-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  min-width: 82px;
  font-weight: 500;
}

.filter-pill {
  padding: 7px 18px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill:hover {
  border-color: var(--brand-umber);
  color: var(--ink-primary);
}

.filter-pill.active {
  background: var(--brand-umber);
  border-color: var(--brand-umber);
  color: #fff;
}

.filter-count {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Project Detail Page (30/70 Asymmetric Editorial + Magazine Gallery)
   ========================================================================== */
.detail-back-bar {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-linen);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--brand-umber);
}

.detail-hero-img-wrap {
  width: 100%;
  max-height: 74vh;
  overflow: hidden;
  background: #221e1a;
  cursor: zoom-in;
}

.detail-hero-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 74vh;
  object-fit: cover;
}

.detail-editorial {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}

.detail-title {
  font-family: var(--font-serif-zh);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
}

.detail-subtitle {
  font-size: 0.92rem;
  color: var(--brand-gold);
  letter-spacing: 0.1em;
  margin: 0 0 24px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--border-subtle);
}

.spec-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.spec-key {
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}

.spec-val {
  color: var(--ink-primary);
  line-height: 1.6;
}

.detail-story-heading {
  font-family: var(--font-serif-en);
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  color: var(--brand-gold);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.detail-story-body p {
  font-size: 0.98rem;
  line-height: 2.05;
  color: var(--ink-secondary);
  margin: 0 0 22px;
  letter-spacing: 0.04em;
}

/* Magazine Editorial Photo Flow (Replaces Clunky 37-Slide Carousel!) */
.editorial-gallery {
  padding: 72px 0 88px;
}

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

.gallery-photo-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-greige);
  cursor: zoom-in;
}

.gallery-photo-card.wide {
  grid-column: span 2;
}

.gallery-photo-card img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-photo-card:hover img {
  transform: scale(1.025);
}

.gallery-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(45, 41, 38, 0.68);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-photo-card:hover .gallery-zoom-hint {
  opacity: 1;
}

/* ==========================================================================
   About Page
   ========================================================================== */
.designer-portrait-frame {
  position: relative;
  padding: 18px;
  background: var(--bg-greige);
  border: 1px solid var(--border-subtle);
}

.designer-portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.philosophy-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border: 1px solid var(--border-subtle);
}

.philosophy-num {
  font-family: var(--font-serif-en);
  font-size: 2rem;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-family: var(--font-serif-zh);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

.philosophy-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.9;
  margin: 0;
}

/* ==========================================================================
   Process & Pricing Page (Underlined Sub-Tabs + 2-Column Numbered Grid)
   ========================================================================== */
.sub-tabs {
  display: flex;
  justify-content: center;
  gap: 44px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-white);
}

.sub-tab {
  padding: 20px 6px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-serif-zh);
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sub-tab:hover,
.sub-tab.active {
  color: var(--brand-umber);
  border-bottom-color: var(--brand-gold);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.process-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 32px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
}

.step-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid var(--border-subtle);
  padding-right: 18px;
}

.step-en {
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--brand-gold);
}

.step-num {
  font-family: var(--font-serif-en);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--brand-umber);
  line-height: 1.1;
}

.step-body h3 {
  font-family: var(--font-serif-zh);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.85;
}

.step-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--brand-clay);
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fee-card {
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  padding: 36px 28px;
}

.fee-card h3 {
  font-family: var(--font-serif-zh);
  font-size: 1.12rem;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.fee-price {
  font-family: var(--font-serif-en);
  font-size: 1.6rem;
  color: var(--brand-umber);
  font-weight: 600;
  margin-bottom: 18px;
}

.fee-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.88rem;
  line-height: 1.9;
}

.fee-notice {
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--bg-greige);
  border-left: 3px solid var(--brand-gold);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif-zh);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.9;
}

.faq-item.open .faq-a {
  display: block;
}

/* ==========================================================================
   Contact & Consultation Form
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.contact-info-box {
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  padding: 40px 34px;
}

.contact-info-box h3 {
  font-family: var(--font-serif-zh);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  margin: 0 0 24px;
}

.contact-detail-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.contact-detail-row strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
  margin-bottom: 4px;
  font-weight: 500;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  padding: 44px 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-linen);
  color: var(--ink-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-umber);
  background: #fff;
}

.form-success-box {
  padding: 48px 32px;
  text-align: center;
  background: var(--bg-linen);
  border: 1px solid var(--brand-gold);
}

/* ==========================================================================
   Studio CMS (Self-Service Admin for Mom to Upload New Projects!)
   ========================================================================== */
.cms-banner {
  background: var(--footer-dark);
  color: #f4f0ea;
  padding: 20px 0;
}

.cms-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cms-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.cms-tab-btn {
  padding: 10px 22px;
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink-secondary);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.cms-tab-btn.active {
  background: var(--brand-umber);
  color: #fff;
  border-color: var(--brand-umber);
}

.cms-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}

.cms-panel {
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

.cms-panel h3 {
  font-family: var(--font-serif-zh);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}

.upload-dropzone {
  border: 1.5px dashed var(--brand-gold);
  background: #fff;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background 0.2s ease;
}

.upload-dropzone:hover {
  background: var(--bg-greige);
}

.upload-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.upload-preview-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
}

.cms-project-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 760px;
  overflow-y: auto;
  padding-right: 4px;
}

.cms-project-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 12px;
}

.cms-project-row img {
  width: 92px;
  height: 68px;
  object-fit: cover;
}

.cms-project-meta h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-family: var(--font-serif-zh);
}

.cms-project-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.cms-row-actions {
  display: flex;
  gap: 8px;
}

.cms-mini-btn {
  padding: 6px 12px;
  font-size: 0.76rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-primary);
  cursor: pointer;
}

.cms-mini-btn:hover {
  background: var(--brand-umber);
  color: #fff;
  border-color: var(--brand-umber);
}

.cms-mini-btn.del:hover {
  background: #9f463d;
  border-color: #9f463d;
}

.inquiry-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Pre-Footer & Warm Beige 4-Column Footer
   ========================================================================== */
.prefooter-bar {
  background: var(--footer-dark);
  color: #fff;
}

.prefooter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.prefooter-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition: background var(--transition);
}

.prefooter-action-right {
  border-right: none;
}

.prefooter-action:hover {
  background: var(--footer-darker);
}

.prefooter-en {
  font-family: var(--font-serif-en);
  font-size: 0.88rem;
  letter-spacing: 0.26em;
  color: var(--brand-gold-soft);
}

.prefooter-zh {
  font-family: var(--font-serif-zh);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  margin-top: 6px;
}

.site-footer {
  background: var(--bg-greige);
  color: var(--ink-secondary);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 0.9fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-heading {
  font-family: var(--font-serif-en);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--brand-gold);
  margin: 0 0 18px;
  font-weight: 600;
}

.footer-office-title {
  font-family: var(--font-serif-zh);
  font-size: 0.98rem;
  color: var(--ink-primary);
  margin: 0 0 10px;
  font-weight: 500;
}

.footer-text {
  font-size: 0.84rem;
  line-height: 1.85;
  margin: 0 0 8px;
}

.footer-link-inline:hover {
  color: var(--brand-umber);
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: var(--brand-umber);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: 1px solid var(--border-subtle);
  padding-left: 24px;
}

.footer-emblem {
  width: 58px;
  height: 50px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--font-serif-zh);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--ink-primary);
  font-weight: 600;
}

.footer-brand-en {
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--brand-gold);
  margin-top: 4px;
}

.footer-motto {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Lightbox, Toast & Floating CTA
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 17, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-stage {
  max-width: 90vw;
  max-height: 86vh;
  text-align: center;
}

.lightbox-stage img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  margin-top: 16px;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--brand-umber);
}

.lightbox-close {
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--footer-dark);
  color: #fff;
  padding: 13px 28px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  border-left: 3px solid var(--brand-gold);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 900;
  width: 70px;
  height: 70px;
  background: var(--brand-umber);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 41, 38, 0.22);
  border: 1px solid rgba(210, 180, 132, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-3px);
  background: var(--brand-umber-hover);
}

.floating-cta-en {
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--brand-gold-soft);
}

.floating-cta-zh {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--footer-dark);
  border-top: 1px solid rgba(210, 180, 132, 0.35);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.14);
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 12px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: #fff;
}

.mobile-bar-call {
  background: var(--footer-dark);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-bar-book {
  background: var(--brand-umber);
  font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .container {
    padding: 0 28px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .split-grid,
  .detail-editorial,
  .contact-layout,
  .cms-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .split-grid.reverse .split-media,
  .split-grid.reverse .split-copy {
    order: initial;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand-col {
    border-left: none;
    padding-left: 0;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .portfolio-grid,
  .philosophy-grid,
  .fee-cards,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item::after {
    display: none;
  }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  .gallery-photo-card.wide {
    grid-column: span 1;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .prefooter-grid {
    grid-template-columns: 1fr;
  }
  .prefooter-action {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .section {
    padding: 72px 0;
  }
  .container {
    padding: 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-cta {
    display: none;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .site-footer {
    padding-bottom: 58px;
  }
}
