:root {
  --ink: #2b241d;
  --muted: #6e6258;
  --line: #eadfce;
  --paper: #fff8ed;
  --white: #ffffff;
  --amber: #c8752b;
  --amber-dark: #9b5a20;
  --pine: #5f7f62;
  --blue: #5f766f;
  --brick: #a95635;
  --cream: #fff3df;
  --shadow: 0 18px 50px rgba(79, 55, 33, 0.13);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 12px clamp(16px, 3vw, 40px);
}

.nav-shell {
  max-width: 900px;
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 247, 235, 0.94);
  border: 1px solid rgba(232, 205, 165, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(74, 50, 29, 0.13);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #514539;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--amber);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  background: #06c755;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.2);
  white-space: nowrap;
}

.button {
  padding: 13px 18px;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--pine);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 107, 91, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  border: 1px solid rgba(185, 143, 86, 0.34);
}

.button-secondary.light {
  border-color: rgba(255, 255, 255, 0.24);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: 112px clamp(24px, 5vw, 72px) 104px;
  overflow: hidden;
  color: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-white-bear.webp");
  background-color: #fff3df;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.96) 0%, rgba(255, 248, 237, 0.84) 39%, rgba(255, 248, 237, 0.18) 76%),
    linear-gradient(0deg, rgba(255, 243, 223, 0.42), rgba(255, 243, 223, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: none;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 7ch;
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 5.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #665746;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-strip {
  position: absolute;
  z-index: 1;
  left: 50%;
  right: auto;
  bottom: 24px;
  width: min(1120px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(185, 143, 86, 0.28);
  background: rgba(255, 253, 248, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(74, 50, 29, 0.08);
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #4b4035;
  font-weight: 800;
  border-right: 1px solid rgba(185, 143, 86, 0.2);
}

.hero-strip span:last-child {
  border-right: 0;
}

.section,
.section-band,
.contact-section {
  padding: clamp(68px, 7vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.section-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.intro {
  background: #fffdf8;
}

.intro p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.service-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(23, 32, 38, 0.05);
}

.service-card {
  min-height: 320px;
}

.service-mark {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 900;
}

.service-card p,
.price-card p,
.split-copy p,
.process-list p,
.faq-list p,
.contact-copy p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #374854;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  background: var(--amber);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 650px);
  justify-content: center;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: #f3eadc;
}

.portrait-panel {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.split-copy {
  max-width: 760px;
}

.split-copy > p {
  margin-top: 22px;
  font-size: 1.08rem;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.proof-list div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
}

.proof-list strong {
  display: block;
  color: var(--pine);
  font-size: 1.35rem;
}

.proof-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.muted {
  background: #fff3df;
}

.price-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  display: grid;
  gap: 14px;
}

.price-card.featured {
  border-top: 6px solid var(--pine);
  box-shadow: var(--shadow);
}

.price-card strong {
  color: var(--brick);
  font-size: 2rem;
  line-height: 1.1;
}

.price-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-note {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 22px;
  color: var(--muted);
}

.process-list {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.faq-section {
  background: #fffdf8;
}

.faq-list {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fbfcfc;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(320px, 460px);
  justify-content: center;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  background: #2a2119;
  color: var(--white);
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  margin-top: 20px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.line-helper {
  padding: 12px 14px;
  background: #eef7f3;
  border: 1px solid #cfe5dc;
  border-radius: var(--radius);
  color: #315f52;
  font-size: 0.95rem;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9df;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.inquiry-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.message-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e0e6;
  border-radius: var(--radius);
  background: #f7f9fa;
}

.message-preview[hidden] {
  display: none;
}

.message-preview p {
  color: var(--muted);
  font-size: 0.92rem;
}

.message-preview textarea {
  width: 100%;
  border: 1px solid #cfd9df;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px max(clamp(20px, 5vw, 72px), calc((100vw - 1120px) / 2));
  background: #1c1611;
  color: rgba(255, 255, 255, 0.62);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 14px;
    font-size: 0.9rem;
  }

  .service-grid,
  .price-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px;
  }

  .nav-shell {
    min-height: 58px;
    padding: 8px 8px 8px 12px;
    gap: 8px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 18px 126px;
  }

  .hero-media {
    background-size: cover;
    background-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(255, 248, 237, 0.95), rgba(255, 248, 237, 0.38)),
      linear-gradient(90deg, rgba(255, 248, 237, 0.92), rgba(255, 248, 237, 0.24));
  }

  .hero h1 {
    max-width: 7ch;
    font-size: clamp(3.05rem, 18vw, 5rem);
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-strip {
    left: 18px;
    right: 18px;
    bottom: 16px;
    width: auto;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip span {
    min-height: 46px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(185, 143, 86, 0.2);
  }

  .hero-strip span:nth-child(2n) {
    border-right: 0;
  }

  .hero-strip span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section,
  .section-band,
  .contact-section {
    padding: 64px 18px;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .service-grid,
  .price-grid,
  .process-list,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-mark {
    margin-bottom: 28px;
  }

  .footer,
  .footer div {
    display: grid;
  }
}

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