/* ============================================
   一三創意 I.S.D
   ----
   字型：華康黑體系（fallback 到 Noto Sans TC）
   原研哉留白 + 蔣勳呼吸 + Arnault 精品感
   ============================================ */

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

:root {
  --color-bg: #F6F2EA;
  --color-bg-warm: #EFE7DA;
  --color-text: #2C2823;
  --color-text-soft: #6B5D52;
  --color-text-mute: rgba(107, 93, 82, 0.6);
  --color-line: #D4C9BA;
  --color-line-soft: rgba(212, 201, 186, 0.4);

  /* 字型 stack：使用者電腦若有華康字體會優先用，否則 fallback 到 Noto Sans TC */
  --font-zh:
    'DFPHeiUB-B5', '華康UD黑 Std W7', '華康UD黑',
    'DFYuanStd-W7', '華康圓體 Std W7', '華康圓體',
    'DFHeiStd-W7', '華康黑體 Std W7',
    'DFHei Std W3', '華康黑體 W3',
    'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en: 'Cormorant Garamond', 'Times New Roman', serif;

  --max-width: 1200px;
  --section-padding: 160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   頂部 LOGO header
   ============================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 28px 48px;
  pointer-events: none;
}

.logo-wrap {
  pointer-events: auto;
  display: inline-block;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.logo-text {
  font-family: var(--font-zh);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.logo-text .logo-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-left: 4px;
  opacity: 0.85;
}

/* ============================================
   第一屏 Hero（白字 + 暗化 overlay）
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 雙層遮罩：左側暗化（保白字可讀）+ 整體暖白柔光（降色重） */
  background:
    linear-gradient(
      to right,
      rgba(20, 16, 12, 0.42) 0%,
      rgba(20, 16, 12, 0.22) 40%,
      rgba(20, 16, 12, 0.06) 75%,
      rgba(20, 16, 12, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(246, 242, 234, 0.18) 0%,
      rgba(246, 242, 234, 0.12) 50%,
      rgba(246, 242, 234, 0.20) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  max-width: 1400px;
}

.hero-content h1 {
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.6;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  max-width: 720px;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 4px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================
   第二屏 呼吸過場（純米白 + CSS 光線）
   ============================================ */
.breath {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px;
  background-color: var(--color-bg);
  overflow: hidden;
}

.breath-light {
  position: absolute;
  top: -15%;
  left: 12%;
  width: 340px;
  height: 145%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 38%,
    rgba(255, 255, 255, 0.45) 56%,
    transparent 82%
  );
  transform: rotate(-12deg);
  filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}

.breath-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breath-content p {
  font-family: var(--font-zh);
  font-weight: 200;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.18em;
}

/* ============================================
   第三屏 我們相信什麼
   ============================================ */
.philosophy {
  padding: var(--section-padding) 32px;
}

.philosophy-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.philosophy-text h2 {
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.55;
  margin-bottom: 56px;
  letter-spacing: 0.08em;
}

.philosophy-paragraphs p {
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 28px;
  color: var(--color-text-soft);
  letter-spacing: 0.05em;
}

.philosophy-paragraphs p:last-child {
  margin-bottom: 0;
}

.philosophy-image {
  overflow: hidden;
}

.philosophy-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   第四屏 精選作品
   ============================================ */
.works {
  padding: 80px 0 var(--section-padding) 0;
}

.work {
  margin-bottom: 160px;
}

.work:last-child {
  margin-bottom: 0;
}

.work-image {
  width: 100%;
  margin-bottom: 64px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: auto;
}

.work-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.work-content h3 {
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.6;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.work-content p {
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 20px;
  color: var(--color-text-soft);
  letter-spacing: 0.05em;
}

.work-content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   第五屏 怎麼開始
   ============================================ */
.start {
  padding: var(--section-padding) 32px;
  background-color: var(--color-bg-warm);
  text-align: center;
}

.start-container {
  max-width: 640px;
  margin: 0 auto;
}

.start h2 {
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 64px;
  letter-spacing: 0.25em;
  color: var(--color-text);
}

.start p {
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 32px;
  color: var(--color-text-soft);
  letter-spacing: 0.05em;
}

.cta {
  display: inline-block;
  margin-top: 32px;
  padding: 20px 56px;
  background-color: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ============================================
   第六屏 詢問入口
   ============================================ */
.contact {
  padding: var(--section-padding) 32px;
}

.contact-container {
  max-width: 560px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 40px;
  letter-spacing: 0.25em;
  text-align: center;
}

.contact-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 2.1;
  margin-bottom: 80px;
  color: var(--color-text-soft);
  letter-spacing: 0.05em;
}

#inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  letter-spacing: 0.1em;
  font-weight: 400;
}

.field .hint {
  font-size: 0.82rem;
  color: var(--color-text-mute);
  letter-spacing: 0.05em;
}

.field input,
.field textarea {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0 12px;
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease;
  margin-top: 4px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.9;
}

#inquiry-form button {
  margin-top: 32px;
  padding: 20px 56px;
  background-color: var(--color-text);
  color: var(--color-bg);
  border: none;
  font-family: var(--font-zh);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  cursor: pointer;
  align-self: center;
  transition: opacity 0.4s ease;
}

#inquiry-form button:hover {
  opacity: 0.88;
}

/* ============================================
   頁尾
   ============================================ */
footer {
  padding: 80px 32px 64px;
  border-top: 1px solid var(--color-line-soft);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

footer .brand {
  font-family: var(--font-zh);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-text);
  letter-spacing: 0.28em;
  margin-bottom: 16px;
}

footer .tagline {
  font-family: var(--font-zh);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

footer .copyright {
  font-size: 0.78rem;
  color: var(--color-text-mute);
  letter-spacing: 0.15em;
}

/* ============================================
   行動裝置（Mobile）
   ============================================ */
@media (max-width: 968px) {
  :root {
    --section-padding: 96px;
  }

  .site-header {
    padding: 20px 24px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }

  .hero-content {
    padding: 0 32px;
    text-align: center;
    justify-content: center;
  }

  .breath {
    min-height: 50vh;
    padding: 80px 32px;
  }

  .philosophy-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .philosophy-text h2 {
    margin-bottom: 40px;
  }

  .work {
    margin-bottom: 96px;
  }

  .work-image {
    margin-bottom: 40px;
  }

  .work-content {
    padding: 0 24px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }
}
