:root {
  --ink: #14263b;
  --ink-deep: #0b1b2c;
  --ink-soft: #31465c;
  --coral: #e75b4f;
  --coral-dark: #ca453b;
  --cream: #f4f1eb;
  --paper: #fff;
  --line: rgba(20, 38, 59, .14);
  --muted: #617184;
  --white-line: rgba(255, 255, 255, .2);
  --container: 1280px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--coral); color: #fff; transition: top .2s ease; }
.skip-link:focus { top: 18px; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  width: 100%;
  padding: 0 max(48px, calc((100% - var(--container)) / 2));
  border-bottom: 1px solid rgba(20, 38, 59, .08);
  background: #fff;
  color: var(--ink);
  transition: min-height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { position: fixed; inset: 0 0 auto; min-height: 74px; box-shadow: 0 8px 28px rgba(11, 27, 44, .1); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; font-weight: 700; letter-spacing: .075em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--coral); border-radius: 50%; color: var(--coral); font-size: 18px; letter-spacing: 0; }
.brand-wordmark { display: block; font-size: 16px; line-height: 1; }
.brand-wordmark small { display: block; margin-top: 7px; color: #768292; font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); color: #39495b; font-size: 15px; font-weight: 550; }
.site-nav a { padding: 12px 0; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--coral); }
.language-switch { display: inline-flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); }
.language-switch > span { color: #a5adb6; }
.language-switch button { padding: 7px 0; border: 0; background: transparent; color: #788494; font-size: 14px; font-weight: 650; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--coral); }
.menu-toggle { display: none; width: 46px; height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: min(780px, calc(100svh - 88px)); min-height: clamp(640px, 76vw, 790px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(116px, 12vw, 168px) 0 46px; background: var(--ink-deep); color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero-port.jpg") center 54% / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(8, 24, 42, .86) 0%, rgba(8, 24, 42, .7) 35%, rgba(8, 24, 42, .2) 75%, rgba(8, 24, 42, .06) 100%), linear-gradient(0deg, rgba(7, 18, 31, .54), transparent 45%); }
.hero-content, .hero-footer { position: relative; z-index: 2; }
.hero-content { max-width: 900px; }
.eyebrow, .section-kicker, .contact-label { color: var(--coral); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: #ffc0ae; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--coral); }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(52px, 6vw, 80px); line-height: 1.16; letter-spacing: -.04em; font-weight: 680; text-wrap: balance; }
.hero h1 span { display: block; }
.hero-subtitle { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.86); font-size: clamp(18px, 1.65vw, 22px); line-height: 1.75; letter-spacing: .02em; }
.hero-cta { display: inline-flex; align-items: center; gap: 24px; margin-top: 36px; padding: 16px 23px 16px 25px; border: 1px solid var(--coral); border-radius: 3px; background: var(--coral); color: #fff; font-size: 16px; font-weight: 650; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-cta:hover { transform: translateY(-2px); border-color: var(--coral-dark); background: var(--coral-dark); }
.hero-cta b { font-size: 21px; font-weight: 450; }
.hero-footer { display: flex; align-items: end; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.68); font-size: 13px; letter-spacing: .04em; }
.hero-footer strong, .hero-footer small { display: block; }
.hero-footer strong { color: #fff; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.hero-footer small { font-size: 11px; }
.scroll-hint { display: inline-flex; align-items: center; gap: 14px; }
.scroll-hint i { width: 48px; height: 1px; background: #ff9b85; }

.section { padding: clamp(88px, 9vw, 132px) 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; margin-bottom: 58px; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; padding-top: 9px; white-space: nowrap; }
.section-kicker > span { letter-spacing: .07em; }
.section-intro .section-kicker,
.capability-copy .section-kicker,
.contact-grid .section-kicker,
.contact-label { font-size: 18px; font-weight: 750; letter-spacing: .08em; }
.section-intro .section-kicker { margin-bottom: 14px; padding-top: 0; color: var(--coral); }
.section-intro h2 { max-width: 900px; margin: 0; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.2; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.capability-copy h2, .contact-grid h2 { margin: 0; max-width: 850px; font-size: clamp(40px, 5.3vw, 68px); line-height: 1.12; letter-spacing: -.05em; font-weight: 680; text-wrap: balance; }
.lead { max-width: 740px; margin: 23px 0 0; color: var(--muted); font-size: 19px; line-height: 1.85; }
.section-dark .lead { color: rgba(255,255,255,.7); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(54px, 8vw, 118px); align-items: center; }
.about-art { position: relative; min-height: 450px; overflow: hidden; background: linear-gradient(120deg, rgba(8, 24, 42, .08), rgba(8, 24, 42, .5)), url("assets/hero-port.jpg") center / cover no-repeat; }
.about-art::before { content: ""; position: absolute; width: 480px; height: 480px; left: -110px; bottom: -240px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.08), 0 0 0 120px rgba(255,255,255,.07); }
.about-art::after { content: ""; position: absolute; inset: 13% 15%; border: 1px solid rgba(255,255,255,.32); transform: rotate(18deg); }
.about-art span { position: absolute; z-index: 1; top: 28px; right: 34px; color: rgba(255,255,255,.9); font-size: clamp(76px, 10vw, 132px); font-weight: 700; letter-spacing: -.12em; text-shadow: 0 4px 30px rgba(0,0,0,.15); }
.about-copy h3 { margin: 0 0 22px; font-size: clamp(32px, 4vw, 52px); line-height: 1.18; letter-spacing: -.045em; font-weight: 680; text-wrap: balance; }
.about-copy p { max-width: 630px; margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.text-arrow { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 650; letter-spacing: .02em; }
.text-arrow b { color: var(--coral); font-size: 21px; font-weight: 450; }
.text-arrow-coral { color: var(--coral-dark); }

.business-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.business-card { min-width: 0; overflow: hidden; border: 1px solid rgba(20, 38, 59, .09); background: #fff; box-shadow: 0 8px 28px rgba(20, 38, 59, .045); transition: transform .25s ease, box-shadow .25s ease; }
.business-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(20, 38, 59, .12); }
.business-visual { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4dc; }
.business-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.65,.25,1); }
.business-card:hover .business-visual img { transform: scale(1.045); }
.card-number { position: absolute; left: 15px; bottom: 14px; display: grid; place-items: center; min-width: 48px; height: 42px; padding: 0 10px; border: 1px solid rgba(255,255,255,.62); background: rgba(10, 29, 47, .7); color: #fff; font: 650 19px/1 ui-monospace, SFMono-Regular, Menlo, monospace; backdrop-filter: blur(8px); }
.business-card-copy { padding: 21px 18px 22px; }
.business-card h3 { min-height: 2.4em; margin: 0 0 12px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.32; font-weight: 700; letter-spacing: -.02em; }
.business-card p { min-height: 5em; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.business-card em { display: block; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--line); color: #566679; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .09em; }

.capability-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(52px, 8vw, 118px); align-items: center; }
.route-map { position: relative; min-height: 460px; overflow: hidden; background: radial-gradient(ellipse at 28% 35%, rgba(32, 74, 108, .75), transparent 50%), #0b2239; }
.route-map::before { content: ""; position: absolute; inset: 56px 38px 72px; background: radial-gradient(circle at 16% 62%, var(--coral) 0 6px, transparent 7px), radial-gradient(circle at 48% 30%, #ffb299 0 6px, transparent 7px), radial-gradient(circle at 82% 69%, #ffb299 0 6px, transparent 7px), linear-gradient(24deg, transparent 0 34%, rgba(255,178,153,.78) 34% 34.35%, transparent 34.35% 100%), linear-gradient(158deg, transparent 0 52%, rgba(255,178,153,.65) 52% 52.35%, transparent 52.35% 100%); }
.route-map::after { content: ""; position: absolute; width: 180%; height: 1px; left: -30%; bottom: 34%; background: rgba(255,255,255,.11); transform: rotate(-22deg); }
.route-map span { position: absolute; left: 30px; bottom: 28px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 650; letter-spacing: .13em; }
.capability-copy .section-kicker { display: inline-flex; margin-bottom: 22px; color: #ff9b85; }
.capability-copy h2 { max-width: 640px; }
.steps { margin-top: 38px; border-top: 1px solid var(--white-line); }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--white-line); }
.step > b { color: #ff9b85; font: 650 16px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.step strong, .step span { display: block; }
.step strong { font-size: 19px; font-weight: 650; }
.step span { margin-top: 8px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr); gap: clamp(52px, 9vw, 136px); align-items: end; }
.contact-grid h2 { max-width: 700px; margin-top: 22px; }
.contact-info { max-width: 680px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.address { margin: 17px 0 20px; font-size: 14px; font-weight: 550; line-height: 1.8; }
.address-en-copy { color: var(--muted); font-size: 14px; font-weight: 450; line-height: 1.75; }
.contact-email { display: flex; flex-wrap: wrap; gap: .35em; margin: 6px 0 0; font-size: 16px; font-weight: 550; line-height: 1.65; }
.contact-email a,
.whatsapp-contact { color: var(--coral-dark); font-size: 16px; font-weight: 650; letter-spacing: .01em; }
.contact-email a { overflow-wrap: anywhere; }
.whatsapp-contact { display: flex; width: fit-content; margin-top: 7px; }
.contact-email a:hover,
.whatsapp-contact:hover { text-decoration: underline; text-underline-offset: .2em; }
html[data-language="zh-TW"] .address-en-copy { display: none; }
html[data-language="en"] .address-zh { display: none; }
.inquiry-card { padding: 38px; background: var(--coral); color: #fff; }
.inquiry-card small { display: block; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.inquiry-card strong { display: block; margin: 28px 0 44px; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 680; letter-spacing: -.04em; }
.inquiry-card .text-arrow { font-size: 16px; }
.inquiry-card .text-arrow b { color: #fff; }
.site-footer { padding: 34px 0 38px; background: var(--ink-deep); color: rgba(255,255,255,.72); font-size: 13px; }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-wordmark small { color: rgba(255,255,255,.55); }
.footer-links { display: flex; align-items: center; justify-content: end; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .site-header { padding-inline: 36px; }
  .site-nav { gap: 22px; font-size: 14px; }
  .business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .business-card h3 { font-size: 21px; }
  .business-card p { min-height: 4em; font-size: 16px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 48px); }
  .site-header { min-height: 76px; padding: 0 24px; }
  .site-header.is-scrolled { min-height: 70px; padding: 0 24px; }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; font-size: 16px; }
  .brand-wordmark { font-size: 14px; }
  .brand-wordmark small { margin-top: 6px; font-size: 8px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .site-nav { position: fixed; inset: 76px 0 0; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 18px 24px 36px; overflow-y: auto; background: #fff; box-shadow: 0 18px 26px rgba(11, 27, 44, .12); transform: translateX(102%); transition: transform .25s ease; }
  .site-header.is-scrolled .site-nav { inset-block-start: 70px; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a { width: 100%; padding: 19px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 20px; }
  .language-switch { margin-top: 22px; padding: 0; border-left: 0; }
  .language-switch button { padding: 10px 0; font-size: 16px; }
  .hero { min-height: 680px; min-height: max(680px, calc(100svh - 76px)); padding: 130px 0 34px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8, 24, 42, .8), rgba(8, 24, 42, .32)), linear-gradient(0deg, rgba(7,18,31,.58), transparent 58%); }
  .eyebrow { margin-bottom: 22px; font-size: 13px; }
  .hero h1 { max-width: 640px; font-size: clamp(42px, 9.8vw, 64px); line-height: 1.18; }
  .hero-subtitle { max-width: 520px; margin-top: 22px; font-size: 18px; line-height: 1.75; }
  .hero-cta { margin-top: 28px; padding: 15px 18px; font-size: 15px; }
  .hero-footer { align-items: flex-start; flex-direction: column; gap: 18px; font-size: 12px; }
  .hero-footer strong { font-size: 14px; }
  .hero-footer small { font-size: 10px; }
  .scroll-hint { display: none; }
  .section { padding: 76px 0; }
  .section-intro, .about-grid, .capability-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-intro { gap: 0; margin-bottom: 36px; }
  .section-intro h2 { font-size: clamp(32px, 7.5vw, 46px); line-height: 1.2; }
  .capability-copy h2, .contact-grid h2 { font-size: clamp(38px, 9.5vw, 58px); line-height: 1.16; }
  .section-intro .section-kicker,
  .capability-copy .section-kicker,
  .contact-grid .section-kicker,
  .contact-label,
  .address,
  .address-en-copy { font-size: 16px; }
  .section-intro .section-kicker { margin-bottom: 12px; padding-top: 0; }
  .lead { margin-top: 18px; font-size: 18px; line-height: 1.8; }
  .about-art, .route-map { min-height: 300px; }
  .about-copy h3 { font-size: clamp(32px, 8vw, 46px); }
  .about-copy p { font-size: 17px; line-height: 1.85; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .business-card-copy { padding: 17px 14px 18px; }
  .business-card h3 { min-height: 2.6em; margin-bottom: 10px; font-size: clamp(18px, 4.7vw, 22px); }
  .business-card p { min-height: 6.1em; font-size: 15px; line-height: 1.7; }
  .business-card em { margin-top: 14px; padding-top: 12px; font-size: 10px; letter-spacing: .06em; }
  .card-number { left: 10px; bottom: 10px; min-width: 42px; height: 36px; font-size: 17px; }
  .step { grid-template-columns: 42px 1fr; gap: 12px; padding: 19px 0; }
  .step strong { font-size: 18px; }
  .step span { font-size: 15px; }
  .contact-grid { gap: 34px; }
  .contact-info { margin-top: 32px; }
  .inquiry-card { padding: 27px; }
  .inquiry-card strong { margin: 22px 0 34px; font-size: clamp(28px, 7vw, 38px); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; gap: 15px 20px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 36px); }
  .site-header, .site-header.is-scrolled { padding-inline: 18px; }
  .brand-wordmark { font-size: 12px; }
  .brand-wordmark small { font-size: 7px; letter-spacing: .12em; }
  .hero h1 { font-size: 42px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-visual { aspect-ratio: 16 / 10; }
  .business-card h3, .business-card p { min-height: 0; }
}
