:root {
  --ink: #172522;
  --muted: #5c6c67;
  --line: #dfe8e2;
  --paper: #f7f3ec;
  --white: #ffffff;
  --green: #103b3d;
  --green-2: #1f6664;
  --copper: #b8673c;
  --gold: #d6b46d;
  --shadow: 0 18px 45px rgba(13, 42, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid rgba(223, 232, 226, 0.82);
  display: flex;
  gap: 26px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(23, 37, 34, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 188px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 21px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  margin-top: -2px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
}

.nav a {
  color: #29413c;
}

.header-cta,
.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
}

.header-cta {
  background: var(--green);
  color: var(--white);
  white-space: nowrap;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(11, 35, 34, 0.78), rgba(11, 35, 34, 0.34) 54%, rgba(11, 35, 34, 0.08));
}

.hero-content {
  color: var(--white);
  max-width: 740px;
  padding: 26vh clamp(20px, 7vw, 92px) 18vh;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.96;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-copy {
  font-size: clamp(19px, 2.3vw, 28px);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn.primary {
  background: var(--copper);
  border: 1px solid var(--copper);
  color: var(--white);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.intro {
  background: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.intro > div {
  border-right: 1px solid var(--line);
  padding: clamp(24px, 4vw, 46px);
}

.metric {
  color: var(--copper);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section,
.band,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 82px);
}

.section-heading {
  max-width: 760px;
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.service-card div {
  padding: 24px;
}

.service-card p,
.intro p,
.project-list p,
.contact-copy p {
  color: var(--muted);
}

.band {
  background: var(--green);
  color: var(--white);
}

.band .eyebrow {
  color: var(--gold);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
}

.steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 24px;
}

.steps span {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.steps strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.steps p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.project-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.project-list article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 0.55fr 1fr;
  padding: 28px 0;
}

.contact {
  background: #e9eee7;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 360px;
}

.contact-methods a,
.contact-methods span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-weight: 800;
  padding: 12px 14px;
}

label {
  color: #334842;
  display: grid;
  font-weight: 700;
  gap: 7px;
}

input,
select,
textarea {
  border: 1px solid #cdd9d1;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  outline: 3px solid rgba(31, 102, 100, 0.16);
}

.footer {
  align-items: center;
  background: #111f1d;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 82px);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero-content {
    padding-top: 25vh;
  }

  .intro,
  .service-grid,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro > div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .nav {
    justify-content: space-between;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(11, 35, 34, 0.58), rgba(11, 35, 34, 0.82));
  }

  .hero-content {
    padding: 24vh 18px 12vh;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .project-list article {
    gap: 4px;
    grid-template-columns: 1fr;
  }
}
