:root {
  color-scheme: light;
  --ink: #082b34;
  --deep: #062730;
  --accent: #bce7d9;
  --paper: #f4f7f4;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #e38e43; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .5rem 1rem; background: white; }
.skip:focus { transform: translateY(0); }
.header { background: var(--deep); color: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.125rem; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand img { display: block; }
.brand small { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a, .contact-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-link { padding: 0 .95rem; border: 1px solid #779d9c; border-radius: 999px; font-size: .9rem; font-weight: 750; color: var(--accent); }
.contact-link:hover { background: #17434a; }
.hero { background: radial-gradient(ellipse at 83% 10%, #397987, transparent 65%), var(--deep); color: #fff; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #051f2ced 0%, #051f2ca6 42%, #051f2c25 100%), url("/ocean.webp") 60% 49% / cover no-repeat; }
.hero-inner { min-height: clamp(430px, 58vw, 590px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 4rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 850; }
.hero p { margin: 1.25rem 0 1.55rem; color: #e1f0ed; font-size: clamp(1rem, 2.5vw, 1.22rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .65rem 1.45rem; border-radius: 999px; background: var(--accent); color: #082b34; font-weight: 800; text-decoration: none; white-space: nowrap; }
.button:hover { background: #e0f6ed; }
.services { padding-block: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.6rem); line-height: 1.28; letter-spacing: -.035em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1.7rem; }
article { scroll-margin-top: 1.25rem; border-top: 2px solid #217471; padding: 1rem 0; }
article:target { border-top-color: #dc8642; }
h3 { font-size: 1.35rem; margin-bottom: .55rem; }
article p { color: #3a585d; line-height: 1.8; }
.inquiry { background: #103a44; color: #fff; }
.inquiry-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2.4rem; }
.inquiry h2 { font-size: clamp(1.4rem, 3.7vw, 2rem); }
.inquiry p { margin-top: .5rem; color: #d2e8e6; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; color: #3a585d; font-size: .9rem; }
@media (max-width: 860px) {
  nav { gap: 1.15rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; padding-top: .55rem; }
  nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-around; border-top: 1px solid #31545b; margin-top: .6rem; }
  .contact-link { grid-row: 1; grid-column: 2; }
  .hero::before { background-position: center, 64% center; }
  .hero-inner { min-height: 400px; padding-block: 3.25rem; }
  .hero p { max-width: 22rem; }
  .service-grid { grid-template-columns: 1fr; gap: .65rem; }
  .inquiry-inner { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
}
