:root {
  --bg: #fff;
  --surface: #fff;
  --ink: #2f2924;
  --ink-soft: #746b64;
  --line: rgba(47, 41, 36, 0.1);
  --brand: #b6804f;
  --brand-deep: #8b5b31;
  --brand-soft: #f5eee7;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
  font-size: 15px;
}

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

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

.site-shell {
  min-height: 100vh;
  padding: 24px 0 96px;
}

.container {
  width: min(calc(100% - 88px), var(--container));
  margin: 0 auto;
}

.container--wide {
  width: min(calc(100% - 72px), 1520px);
  margin: 0 auto;
}

[data-nav] {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.96);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-nav__logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.site-nav__brand-text strong {
  font-size: 0.92rem;
}

.site-nav__brand-text small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav__menu a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-nav__menu a.is-active,
.site-nav__menu a:hover {
  color: var(--ink);
}

.site-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand);
  cursor: pointer;
}

.site-nav__toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px 0;
  background: currentColor;
}

.site-nav__meta {
  display: none;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav__tel {
  color: #2d6bcf;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  min-height: 100%;
  padding: 18px 20px 44px;
  background: #fff;
}

.mobile-menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
}

.mobile-menu__close {
  border: 0;
  background: transparent;
  color: #2d6bcf;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.mobile-menu__heading {
  margin: 26px 0 18px;
  text-align: center;
}

.mobile-menu__heading span {
  display: block;
  color: #2d6bcf;
  font-family: "Noto Serif TC", serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mobile-menu__list li {
  border-bottom: 1px solid var(--line);
}

.mobile-menu__list a {
  display: block;
  padding: 18px 12px;
  font-size: 1rem;
}

.mobile-menu__footer {
  padding-top: 42px;
  text-align: center;
}

.mobile-menu__footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.home-banner {
  padding-top: 0;
}

.home-banner__slider {
  position: relative;
}

.home-banner__viewport {
  overflow: hidden;
}

.home-banner__track {
  display: flex;
}

.home-banner__slide {
  position: relative;
  flex: 0 0 100%;
}

.home-banner__slide img {
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 640px;
  object-fit: cover;
}

.home-banner__overlay {
  position: absolute;
  left: 56px;
  bottom: 56px;
  max-width: 520px;
  color: #fff;
}

.home-banner__title {
  margin: 12px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-banner__overlay p {
  margin: 18px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.home-banner__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.home-banner__nav--prev {
  left: 20px;
}

.home-banner__nav--next {
  right: 20px;
}
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-top: 72px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

.section-header p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.section-title {
  margin: 10px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead,
.meta,
.card p,
.panel p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button--ghost,
.button--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
}

.button {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.button--ghost {
  background: #fff;
  color: var(--ink);
}

.button--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.panel,
.card {
  background: #fff;
  border: 1px solid var(--line);
}

.panel {
  padding: 34px;
}

.card {
  padding: 28px;
}

.hero {
  padding-top: 0;
}

.hero-layout,
.split-section,
.service-grid,
.news-band,
.page-hero__layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.hero-layout--top {
  align-items: start;
}

.hero-copy,
.page-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 680px;
  padding: 56px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero-copy {
  background-image:
    linear-gradient(180deg, rgba(42, 34, 28, 0.18), rgba(42, 34, 28, 0.78)),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1600&q=80");
}

.hero-copy--plain {
  min-height: 720px;
}

.page-hero__copy {
  min-height: 420px;
  background-image:
    linear-gradient(180deg, rgba(42, 34, 28, 0.2), rgba(42, 34, 28, 0.78)),
    url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1600&q=80");
}

.hero-title {
  margin: 10px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.35rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero__copy p {
  max-width: 420px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.hero-side-panel {
  display: grid;
  align-content: space-between;
  min-height: 720px;
  padding: 70px 0 24px;
}

.hero-side-panel p {
  max-width: 340px;
}

.hero-aside,
.stack {
  display: grid;
  gap: 24px;
  background: transparent;
}

.hero-note,
.stat-card,
.contact-snapshot {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
}

.hero-note {
  min-height: 340px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: transparent;
}

.photo-card {
  min-height: 320px;
  border: 1px solid var(--line);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  display: grid;
  gap: 18px;
  background: var(--brand-soft);
}

.stat-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(47, 41, 36, 0.1);
}

.stat-card__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-card__row strong,
.feature-index {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand);
}

.stat-card__row span {
  max-width: 160px;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.split-section {
  grid-template-columns: 1.05fr 0.95fr;
}

.soft-band {
  padding: 92px 0;
  background: #f8f2ea;
}

.news-soft-band {
  padding: 110px 0 96px;
  background: #f6efe7;
}

.cases-band {
  padding: 110px 0 96px;
  background: #fff;
}

.center-intro {
  margin-bottom: 46px;
  text-align: center;
}

.center-intro p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--ink-soft);
}

.image-panel {
  min-height: 620px;
  border: 1px solid var(--line);
}

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

.number-grid,
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: transparent;
}

.problem-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.problem-card,
.solution-card {
  min-height: 220px;
}

.problem-card h3,
.solution-card h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.problem-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.problem-card li + li {
  margin-top: 8px;
}

.service-summary {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.service-list {
  display: grid;
}

.service-list__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-list__item strong {
  color: var(--brand);
  font-size: 0.92rem;
}

.service-aside {
  display: grid;
  gap: 24px;
  align-content: start;
}

.feature-card,
.guidance-card {
  min-height: 240px;
  border: 1px solid var(--line);
}

.feature-card {
  display: grid;
  gap: 18px;
}

.feature-card h3,
.guidance-card h3,
.contact-card h3,
.service-card--large h3,
.service-card--soft h3 {
  margin: 0;
  font-size: 1.02rem;
}

.service-grid {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  background: transparent;
}

.service-card--large,
.service-card--soft {
  border: 1px solid var(--line);
}

.service-card--large {
  min-height: 380px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(44, 35, 29, 0.2), rgba(44, 35, 29, 0.7)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
}

.service-card--large p {
  color: rgba(255, 255, 255, 0.82);
}

.service-card--soft {
  background: #fff;
}

.news-band {
  grid-template-columns: 0.95fr 1.05fr;
  background: #2f2722;
  color: #fff;
  border: 1px solid #2f2722;
}

.news-board {
  background: #fff;
  border: 1px solid rgba(47, 41, 36, 0.08);
}

.news-board__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-board__item {
  display: grid;
  grid-template-columns: 160px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 26px 20px;
  border-bottom: 1px solid rgba(47, 41, 36, 0.1);
}

.news-board__item:last-child {
  border-bottom: 0;
}

.news-board__date {
  color: var(--brand);
  font-size: 0.95rem;
  white-space: nowrap;
}

.news-board__title {
  font-size: 1rem;
  color: var(--ink);
}

.news-board__arrow {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--brand);
  font-size: 0.9rem;
}

.news-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.news-more a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brand);
  color: var(--brand);
  font-size: 0.95rem;
}

.news-more a::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  background: var(--brand);
  transform: skewX(36deg);
  transform-origin: right center;
}

.cases-stage {
  overflow: hidden;
}

.cases-header {
  margin-bottom: 34px;
  text-align: center;
}

.cases-slider {
  position: relative;
}

.cases-slider__viewport {
  overflow: hidden;
}

.cases-slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s ease;
}

.cases-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--line);
  opacity: 0.55;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cases-slide.is-active {
  opacity: 1;
}

.cases-main__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.cases-main__body {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: end;
  padding: 20px 24px;
}

.cases-index {
  font-family: "Noto Serif TC", serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--brand);
}

.cases-index span {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.cases-main__body h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.cases-main__body p {
  margin: 0;
  color: var(--ink-soft);
}

.button--small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.cases-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cases-slider__nav--prev {
  left: 12px;
}

.cases-slider__nav--next {
  right: 12px;
}

.cases-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.cases-slider__dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  background: rgba(47, 41, 36, 0.18);
  cursor: pointer;
}

.cases-slider__dot.is-active {
  background: var(--brand);
}

.news-band__image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.news-band__content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px;
}

.news-list,
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li,
.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-list li {
  border-bottom-color: var(--line);
}

.news-list li:last-child,
.info-list li:last-child {
  border-bottom: 0;
}

.bleed-photo {
  min-height: 52vh;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  border-left: 0;
  border-right: 0;
  margin-top: 12px;
}

.page-hero__layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.snapshot-line {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.snapshot-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.snapshot-line strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.contact-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

.contact-card {
  display: grid;
  gap: 12px;
  border: 0;
}

.map-card {
  min-height: 640px;
  border: 1px solid var(--line);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
}

.qr-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}

.qr-box img {
  width: 72px;
  height: 72px;
}

.footer {
  padding-top: 44px;
}

.footer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .hero-layout,
  .split-section,
  .service-grid,
  .news-band,
  .page-hero__layout,
  .contact-layout,
  .number-grid,
  .guidance-grid,
  .problem-grid,
  .solution-grid,
  .service-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-board__item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .cases-slider {
    position: relative;
  }

  .cases-slide {
    flex-basis: 100%;
    opacity: 1;
  }

  .cases-main__body {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .cases-slider__nav--prev {
    left: 8px;
  }

  .cases-slider__nav--next {
    right: 8px;
  }

  .hero-copy,
  .page-hero__copy,
  .image-panel,
  .map-card,
  .map-card iframe {
    min-height: 360px;
  }

  .hero-side-panel {
    min-height: auto;
    padding: 8px 0 0;
  }

  .home-banner__slide img {
    height: 78vh;
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .container,
  .container--wide {
    width: min(calc(100% - 32px), 100%);
  }

  .site-shell {
    padding-top: 8px;
  }

  .home-banner__slide img {
    height: 68vh;
    min-height: 420px;
  }

  .home-banner__overlay {
    left: 24px;
    right: 24px;
    bottom: 28px;
    max-width: none;
  }

  .home-banner__title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .home-banner__overlay p {
    font-size: 0.92rem;
  }

  .home-banner__nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .home-banner__nav--prev {
    left: 12px;
  }

  .home-banner__nav--next {
    right: 12px;
  }

  .site-nav,
  .section-header,
  .cta-box,
  .footer-box,
  .qr-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: min(calc(100% - 32px), 100%);
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .site-nav__menu {
    display: none;
  }

  .site-nav__meta {
    display: flex;
  }

  .site-nav__toggle {
    display: inline-block;
  }

  .panel,
  .card,
  .hero-copy,
  .page-hero__copy,
  .hero-note,
  .stat-card,
  .contact-snapshot,
  .news-band__content {
    padding: 24px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .section {
    padding-top: 36px;
  }
}
