:root {
  color-scheme: light;
  --ink: #102923;
  --paper: #f6f8f4;
  --lime: #d7ef84;
  --green: #37604b;
  --line: #d4dfd4;
}
*, *::before, *::after { 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", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid #538164; outline-offset: 5px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); z-index: 5; background: white; padding: .5rem 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.header { background: #fff; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: 9rem; height: auto; }
.menu-toggle { display: none; }
nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.8rem, 3vw, 2rem); }
nav a { text-decoration: none; font-size: .94rem; }
nav a:hover { text-decoration: underline; color: var(--green); }
.footer a:hover { text-decoration: underline; color: var(--lime); }
.hero {
  display: grid;
  align-items: center;
  min-height: 39rem;
  min-height: clamp(34rem, 78svh, 54rem);
  color: #fff;
  background: linear-gradient(90deg, #0b211bf2, #0b211baa 47%, #0b211b21), url("./hero.webp") center 52% / cover no-repeat, #173e34;
}
.hero-inner { padding-block: 4rem; }
.eyebrow { color: var(--green); font-size: .94rem; font-weight: 750; letter-spacing: .16em; margin: 0 0 .8rem; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3.15rem, 8.1vw, 7.2rem); letter-spacing: -.045em; line-height: 1.07; }
h2 { margin-bottom: 0; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.046em; line-height: 1.2; }
.intro { max-width: 24rem; margin-bottom: 1.8rem; font-size: 1.12rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .8rem 1.3rem; border-radius: .25rem; background: var(--lime); color: var(--ink); text-decoration: none; font-weight: 750; }
.button:hover { background: #ebf9be; }
.section { padding-block: clamp(3.8rem, 9vw, 7.8rem); }
.about, .company-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.5rem, 6vw, 6rem); }
.about-copy { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #324b40; }
.about-copy p:last-child { margin-bottom: 0; }
.services { background: #e9f0e8; }
.service-list { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-list li { min-width: 0; border: 1px solid var(--line); background: var(--paper); padding: clamp(1.15rem, 3vw, 2rem); }
.service-list h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service-list p { margin-bottom: 0; color: #324b40; }
.section-copy { max-width: 44rem; margin: 1.25rem 0 0; color: #324b40; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.project-grid figure { margin: 0; border: 1px solid var(--line); }
.project-grid img { display: block; width: 100%; height: auto; }
.project-grid figcaption { padding: 1.25rem; }
.project-grid h3 { margin-bottom: .35rem; }
.project-grid p, .faq p { margin-bottom: 0; color: #324b40; }
.faq details { border-top: 1px solid #aebfb1; padding-block: 1rem; }
.faq details:last-child { border-bottom: 1px solid #aebfb1; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-top: .65rem; }
.company-inner { margin-top: 2rem; }
.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 6vw, 6rem);
}
.contact address { margin-top: 1.25rem; font-style: normal; }
.contact address p { margin-bottom: .5rem; }
.contact address a { overflow-wrap: anywhere; }
.contact-line { margin: 0; width: min(100%, 14rem); }
.contact-line img { display: block; width: 100%; height: auto; padding: .65rem; background: white; }
.contact-line figcaption { margin-top: .65rem; }
.company, .footer { background: var(--ink); color: white; }
dl { margin: 0 0 1.5rem; }
dl div { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; padding: .75rem 0; border-top: 1px solid #496257; }
dd { margin: 0; }
dt { color: #d0e1d5; }
.footer { border-top: 1px solid #496257; font-size: .9rem; }
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: .9rem; }
  .header-inner[data-mobile-menu] { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .header-inner[data-mobile-menu] .menu-toggle {
    display: inline-grid;
    place-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: .25rem;
    background: white;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle:focus-visible { outline: 2px solid #538164; outline-offset: 3px; }
  .menu-toggle span { width: 18px; height: 2px; border-radius: 1px; background: currentColor; }
  .header-inner[data-mobile-menu] nav {
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .header-inner[data-mobile-menu] .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .header-inner[data-mobile-menu] nav a { display: block; padding: .65rem 0; }
  .hero { background-position: 59% center; }
  .about, .company-inner, .contact, .service-list, .project-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
