:root {
  --ink: #102b3d;
  --blue: #0b4a75;
  --blue-deep: #082f4d;
  --cyan: #2eacc4;
  --ice: #eaf6f7;
  --mist: #f4f7f7;
  --line: #d9e2e5;
  --muted: #5f7480;
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: "Noto Sans TC", sans-serif;
  --latin: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--serif); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(217,226,229,.8); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--blue); }
.brand-logo { display: block; width: 78px; height: auto; }
.brand-mark { width: 35px; height: 36px; display: grid; gap: 4px; transform: skewY(-18deg); }
.brand-mark i { display: block; height: 7px; border-radius: 9px 3px 9px 3px; background: currentColor; }
.brand-mark i:nth-child(1) { width: 25px; margin-left: 8px; }
.brand-mark i:nth-child(2) { width: 31px; margin-left: 3px; }
.brand-mark i:nth-child(3) { width: 35px; }
.brand-name { line-height: 1; font-family: Georgia, serif; font-size: 24px; letter-spacing: -.6px; }
.brand-name b { font-weight: 500; }
.brand-name em { margin-left: 2px; color: #6f7e86; font-size: 14px; font-style: normal; letter-spacing: -.3px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 17px; color: var(--white); background: var(--blue); border-radius: 4px; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: linear-gradient(120deg, #f7faf9 0%, #eef6f6 57%, #e0f0f1 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11,74,117,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,74,117,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, transparent, black 55%); }
.hero-grid { position: relative; min-height: 690px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-block: 88px; }
.eyebrow { margin: 0 0 20px; color: var(--cyan); font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.hero h1, .section h2, .contact h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.22; letter-spacing: -.055em; font-weight: 700; }
.hero h1 { font-size: clamp(38px, 4.4vw, 56px); }
.hero h1 span { color: var(--blue); }
.mobile-break { display: none; }
.hero-lead { max-width: 610px; margin: 27px 0 32px; color: #425e6c; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid var(--blue); border-radius: 4px; font-size: 15px; font-weight: 600; transition: .2s ease; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.button-ghost:hover { color: var(--white); background: var(--blue); transform: translateY(-2px); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes span::before { content: ""; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; }

.hero-visual { position: relative; min-height: 480px; display: grid; align-items: center; }
.hero-image-frame { position: relative; width: min(620px, 46vw); margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 8px; box-shadow: 0 32px 70px rgba(7,41,62,.22); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(5,31,48,.55)); }
.hero-image-frame img { width: 100%; aspect-ratio: 1.35 / 1; display: block; object-fit: cover; object-position: 64% center; }
.hero-image-frame figcaption { position: absolute; z-index: 1; right: 24px; bottom: 21px; left: 24px; display: grid; gap: 3px; color: var(--white); }
.hero-image-frame figcaption span { color: #a9e1e7; font-size: 10px; letter-spacing: .14em; }
.hero-image-frame figcaption strong { font-size: 15px; font-weight: 600; }

.trust-bar { color: var(--white); background: var(--blue); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { min-height: 116px; display: flex; align-items: baseline; justify-content: center; gap: 9px; padding: 25px; border-right: 1px solid rgba(255,255,255,.14); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-family: var(--latin); font-size: 28px; }
.trust-grid span { color: #c4d9e4; font-size: 12px; }

.section { padding-block: 118px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-heading h2, .integration h2, .about h2 { font-size: clamp(32px, 4vw, 50px); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { position: relative; min-height: 415px; overflow: hidden; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 6px; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16,43,61,.10); }
.service-card::after { content: ""; position: absolute; width: 220px; height: 220px; top: -130px; right: -110px; border: 1px solid currentColor; border-radius: 50%; opacity: .1; }
.service-index { color: #8da0aa; font-family: var(--latin); font-size: 11px; letter-spacing: .12em; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 36px 0 23px; color: var(--blue); background: var(--ice); border-radius: 50%; font-size: 23px; }
.service-card h3 { margin: 0 0 14px; font-size: 25px; }
.service-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 20px 0 30px; padding: 0; list-style: none; color: #3e5866; font-size: 12px; }
.service-card li::before { content: "•"; margin-right: 7px; color: var(--cyan); }
.service-card a { margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 700; }
.service-card a span, .text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.service-card a:hover span, .text-link:hover span { transform: translateX(5px); }
.service-cyan { background: #f1f9f9; }
.service-deep { color: var(--white); background: var(--blue-deep); border-color: var(--blue-deep); }
.service-deep .service-index, .service-deep p, .service-deep ul { color: #bdd0d9; }
.service-deep .service-icon { color: var(--white); background: rgba(255,255,255,.1); }
.service-deep a { color: #7ed8e4; }

.integration { color: var(--white); background: var(--ink); }
.integration-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; align-items: center; }
.integration-copy > p:not(.eyebrow) { max-width: 500px; color: #b6c6cd; }
.text-link { display: inline-block; margin-top: 20px; color: #77d5e0; font-size: 14px; font-weight: 700; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list > li > span { padding-top: 2px; color: #70ced9; font-family: var(--latin); font-size: 11px; }
.process-list b { font-size: 18px; }
.process-list p { margin: 4px 0 0; color: #aabcc4; font-size: 13px; }

.audiences { background: var(--mist); }
.section-heading.compact { grid-template-columns: 1fr; margin-bottom: 44px; }
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #bdccd1; border-bottom: 1px solid #bdccd1; }
.audience-grid article { min-height: 245px; padding: 34px; border-right: 1px solid #bdccd1; }
.audience-grid article:last-child { border-right: 0; }
.audience-grid span { color: var(--cyan); font-family: var(--latin); font-size: 11px; }
.audience-grid h3 { margin: 45px 0 13px; font-size: 22px; }
.audience-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.case-gallery figure { position: relative; min-height: 330px; margin: 0; overflow: hidden; background: #dbe6e8; }
.case-gallery img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; transition: transform .5s ease; }
.case-gallery img.inrow-photo { object-position: 50% 62%; }
.case-gallery figure:hover img { transform: scale(1.018); }
.case-gallery figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 14px 16px; color: var(--white); background: rgba(7,31,47,.82); backdrop-filter: blur(8px); }
.case-gallery figcaption span { color: #8be1e9; font-size: 11px; }
.case-gallery figcaption b { font-size: 14px; }
.case-photo-note { margin: 0 0 32px; color: #72848d; font-size: 11px; }
.case-list { border-top: 1px solid var(--ink); }
.case-list article { display: grid; grid-template-columns: 135px 1fr 80px; align-items: center; gap: 25px; min-height: 112px; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.case-list article:hover { background: #f7faf9; }
.case-list article > span { color: var(--blue); font-size: 12px; font-weight: 600; }
.case-list b { font-size: 17px; }
.case-list p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.case-list time { color: #83949d; font-family: var(--latin); font-size: 13px; text-align: right; }
.client-panel { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; margin-top: 62px; padding: 44px; color: var(--ink); background: linear-gradient(135deg, #eaf5f6 0%, #f7fbfb 58%, #fff 100%); border: 1px solid #cddfe2; border-top: 4px solid var(--aqua); overflow: hidden; }
.client-panel::after { content: ""; position: absolute; right: -90px; bottom: -135px; width: 260px; height: 260px; border: 1px solid rgba(9,76,107,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(9,76,107,.035), 0 0 0 76px rgba(9,76,107,.025); pointer-events: none; }
.client-panel-copy { position: relative; z-index: 1; align-self: center; }
.client-panel-copy h3 { margin: 7px 0 13px; color: var(--blue); font-size: clamp(24px, 2.3vw, 32px); }
.client-panel-copy > p:last-child { max-width: 410px; margin: 0; color: #526b77; font-size: 13px; line-height: 1.85; }
.client-panel .eyebrow { color: #177f91; }
.client-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.client-grid li { display: grid; gap: 6px; min-height: 78px; align-content: center; padding: 14px 16px; background: rgba(255,255,255,.82); border: 1px solid #d5e3e5; box-shadow: 0 8px 22px rgba(12,62,84,.045); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.client-grid li:hover { transform: translateY(-2px); border-color: #95cbd1; box-shadow: 0 12px 28px rgba(12,62,84,.09); }
.client-grid li span { color: #45808d; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.client-grid li b { color: var(--ink); font-size: 15px; font-weight: 600; }
.client-grid li:last-child { grid-column: 1 / -1; }

.about { background: var(--ice); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; align-items: center; }
.about-monogram { min-height: 390px; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 45px; color: var(--white); background: var(--blue); overflow: hidden; }
.about-monogram::after { content: ""; position: absolute; width: 330px; height: 330px; right: -130px; bottom: -155px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 52px rgba(255,255,255,.04), 0 0 0 104px rgba(255,255,255,.03); }
.about-monogram span { position: relative; z-index: 1; font-family: var(--latin); font-size: 116px; font-weight: 600; line-height: .9; letter-spacing: -.08em; }
.about-monogram small { position: relative; z-index: 1; margin-top: 24px; font-family: var(--latin); font-size: 10px; letter-spacing: .19em; line-height: 1.7; }
.about-copy > p:not(.eyebrow) { color: #4d6672; }
.about-copy .qualification-note { margin-top: 24px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.principles span { padding: 8px 13px; color: var(--blue); background: var(--white); border: 1px solid #d4e5e7; font-size: 12px; }

.contact { padding-block: 105px; color: var(--white); background: linear-gradient(120deg, var(--blue) 0%, #0b5b7f 100%); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.contact .eyebrow { color: #8be1e9; }
.contact h2 { font-size: clamp(34px, 4.6vw, 55px); }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: #c9dce5; }
.contact-actions { display: grid; border-top: 1px solid rgba(255,255,255,.23); }
.contact-actions > * { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.23); }
.contact-actions span { color: #a9ccd9; font-size: 11px; }
.contact-actions strong { font-size: 17px; font-weight: 500; }
.contact-actions a:hover strong { color: #8de0e8; }
.contact-actions .line-contact { grid-template-columns: 1fr 118px; gap: 24px; align-items: center; }
.line-contact > div { display: grid; gap: 5px; }
.contact-actions .line-link { width: max-content; margin-top: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: var(--white); font-size: 12px; font-weight: 700; }
.contact-actions .line-link:hover { color: var(--blue); background: var(--white); }
.line-qr { display: block; padding: 6px; border-radius: 8px; background: var(--white); }
.line-qr img { width: 100%; height: auto; display: block; }

.site-footer { padding-top: 70px; color: #b7c8d0; background: #071f2f; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 70px; padding-bottom: 55px; }
.brand-footer { color: var(--white); }
.brand-footer .brand-logo { width: 92px; filter: brightness(0) invert(1); }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-grid > div > span { margin-bottom: 8px; color: #6f8a98; font-family: var(--latin); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { margin: 0; font-size: 12px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: #6f8a98; font-family: var(--latin); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  :root { --shell: min(100% - 36px, 760px); }
  .nav-toggle { display: grid; gap: 4px; }
  .nav-toggle span:not(.sr-only) { width: 23px; height: 2px; background: var(--ink); transition: .2s ease; }
  .site-nav { position: absolute; top: 78px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(16,43,61,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 10px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-visual { min-height: 520px; }
  .hero-image-frame { width: 100%; }
  .section-heading, .integration-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { align-items: start; }
  .integration-grid { gap: 55px; }
  .about-monogram { min-height: 300px; }
  .about-monogram span { font-size: 96px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 28px); }
  .nav-wrap { min-height: 68px; }
  .brand-logo { width: 64px; }
  .site-nav { top: 68px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; gap: 35px; padding-block: 65px 50px; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .mobile-break { display: inline; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 8px 16px; margin-top: 24px; }
  .hero-visual { min-height: auto; }
  .hero-image-frame img { aspect-ratio: 4 / 3; object-position: 68% center; }
  .hero-image-frame figcaption { right: 18px; bottom: 16px; left: 18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { min-height: 90px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; padding: 26px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid #bdccd1; }
  .audience-grid article:last-child { border-bottom: 0; }
  .audience-grid h3 { margin-top: 20px; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery figure, .case-gallery img { min-height: 280px; }
  .case-list article { grid-template-columns: 1fr 54px; gap: 12px; padding-block: 20px; }
  .case-list article > span { grid-column: 1 / -1; }
  .client-panel { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; padding: 28px 20px 22px; }
  .client-panel-copy > p:last-child { line-height: 1.7; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .client-grid li { min-height: 74px; padding: 11px 12px; }
  .about-grid { gap: 40px; }
  .about-monogram { min-height: 260px; }
  .contact { padding-block: 78px; }
  .contact-actions .line-contact { grid-template-columns: 1fr 100px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { align-items: start; flex-direction: column; justify-content: center; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
