@font-face {
  font-family: "WenKaiTC";
  src: url("../../fonts/LXGWWenKaiTC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #faf7f0;
  --paper-deep: #f2ecdf;
  --ink: #17304f;
  --ink-soft: #506075;
  --brand: #173a86;
  --sun: #f4c928;
  --sage: #829477;
  --terracotta: #bd7559;
  --line: rgba(23, 48, 79, .14);
  --serif: "WenKaiTC", "Noto Serif TC", "Yu Mincho", serif;
  --sans: "WenKaiTC", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; overscroll-behavior-x: none; }
body { position: relative; width: 100%; max-width: 100%; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.8; overflow-x: hidden; overscroll-behavior-x: none; }
main,.site-footer{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body,main,.site-footer{overflow-x:clip}}
img { max-width: 100%; }
a { color: inherit; }
.container-wide { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: clamp(76px, 9vw, 138px) 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 10px 16px; background: var(--ink); color: white; transition: top .2s; }
.skip-link:focus { top: 12px; }
.eyebrow { display: inline-block; color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
.display-heading, .section-heading-row h2, .smart-copy h2, .location-copy h2, .home-cta h2 { font-family: var(--serif); font-weight: 600; letter-spacing: .035em; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; border-bottom: 1px solid transparent; transition: background .35s, box-shadow .35s, border-color .35s; }
.site-header.is-scrolled { background: rgba(250,247,240,.93); border-color: var(--line); box-shadow: 0 8px 30px rgba(30,43,54,.06); backdrop-filter: blur(18px); }
.site-header .navbar { padding: 13px 0; }
.site-nav-wrap { width: min(1440px, calc(100% - 40px)); margin: auto; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-family: var(--serif); color: var(--brand); font-size: 1.08rem; letter-spacing: .06em; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: .58rem; letter-spacing: .045em; }
.navbar-nav { gap: 5px; }
.translate-nav-item{margin-left:14px}
.navbar-nav .nav-link { position: relative; padding: .65rem .72rem !important; color: var(--ink); font-size: .84rem; font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
.navbar-nav .nav-link::after { border: 0; }
.navbar-nav .nav-link::before { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .42rem; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link:focus::before { transform: scaleX(1); transform-origin: left; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 0; padding: 8px; background: rgba(255,253,248,.98); box-shadow: 0 15px 40px rgba(25,42,54,.08); }
.dropdown-item { padding: 8px 15px; font-size: .88rem; }
.dropdown-item:hover { background: var(--paper-deep); color: var(--brand); }
.nav-cta-item { margin-left: 10px; }
.translate-nav-item{display:flex;align-items:center;margin-left:6px}.translate-shell{display:flex;min-height:38px;align-items:center;gap:7px;padding:4px 10px;border:1px solid rgba(23,61,120,.14);border-radius:999px;background:rgba(255,255,255,.72)}.translate-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef3df;color:#315f55;font-family:var(--serif);font-size:.72rem;font-weight:700}.goog-te-gadget{height:28px;overflow:hidden;color:transparent!important;font-size:0!important;line-height:28px!important}.goog-te-gadget .goog-te-combo{height:28px;max-width:112px;margin:0!important;padding:0 20px 0 3px;border:0;background:transparent;color:#244354;font-family:var(--sans);font-size:.76rem;font-weight:600;outline:none;cursor:pointer}.goog-te-gadget img,.goog-logo-link{display:none!important}.notranslate{unicode-bidi:isolate}

.translate-nav-item{margin-left:14px}
/* Prevent Google Translate's injected banner from shifting the page downward. */
html,html.translated-ltr,html.translated-rtl{margin-top:0!important}.translated-ltr body,.translated-rtl body,body{top:0!important;margin-top:0!important}.goog-te-banner-frame.skiptranslate,iframe.goog-te-banner-frame,iframe.VIpgJd-ZVi9od-ORHb-OEVmcd{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important}
.navbar-toggler { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 18px; height: 1px; margin: auto; background: var(--ink); content: ""; }
.nav-toggle-lines::before { transform: translateY(-6px); }
.nav-toggle-lines::after { transform: translateY(5px); }

.btn { border-radius: 100px; padding: .85rem 1.55rem; font-weight: 600; letter-spacing: .04em; transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .65rem 1.15rem; }
.btn-brand { background: var(--sun); border: 1px solid var(--sun); color: #152a45; box-shadow: 0 8px 24px rgba(244,201,40,.2); }
.btn-brand:hover, .btn-brand:focus { background: #ffd83e; border-color: #ffd83e; color: #152a45; box-shadow: 0 12px 30px rgba(244,201,40,.28); }
.btn-quiet { background: rgba(255,255,255,.72); border: 1px solid rgba(23,48,79,.25); color: var(--ink); backdrop-filter: blur(8px); }
.btn-outline-ink { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; padding-bottom: 4px; text-decoration: none; font-weight: 600; }

.home-hero { position: relative; min-height: 820px; height: 100svh; max-height: 980px; overflow: hidden; background: #eee5d6; }
.home-hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(250,247,240,.96) 0%, rgba(250,247,240,.77) 29%, rgba(250,247,240,.12) 58%, rgba(250,247,240,0) 100%), url('../../images/design/home-hero-v1.webp'); background-size: cover; background-position: center; transform: scale(1.01); }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 13%; background: linear-gradient(0deg, var(--paper), transparent); pointer-events: none; }
.home-hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; padding-top: 88px; }
.home-hero-copy { width: min(660px, 54%); }
.home-hero h1 { margin: 20px 0 24px; font-family: var(--serif); font-size: clamp(3rem, 4.8vw, 4.35rem); font-weight: 600; line-height: 1.4; letter-spacing: .035em; }
.home-hero h1 span { white-space: nowrap; }
.home-hero-copy > p { max-width: 520px; margin-bottom: 32px; color: #435367; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { align-self: flex-start; margin-top: 160px; padding: 18px 22px; border-left: 1px solid rgba(23,48,79,.25); color: var(--ink); }
.hero-note span { font-size: .65rem; letter-spacing: .2em; }
.hero-note p { margin: 8px 0 0; font-family: var(--serif); font-size: 1.05rem; }
.hero-scroll { position: absolute; z-index: 4; bottom: 34px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink); font-size: .58rem; letter-spacing: .2em; text-decoration: none; transform: translateX(-50%); }
.hero-scroll span { display: block; width: 1px; height: 36px; background: var(--ink); animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.45); transform-origin: top; opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

.intro-section { position: relative; background: var(--paper); }
.intro-section::before { content: ""; position: absolute; top: 45px; right: 7%; width: 150px; height: 110px; opacity: .22; background: radial-gradient(ellipse at 50% 100%, transparent 48%, var(--sage) 50%, transparent 52%) 0 0/38px 38px; transform: rotate(-12deg); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11vw; align-items: end; }
.display-heading { margin: 22px 0 0; font-size: clamp(2.25rem, 4.3vw, 4.3rem); line-height: 1.45; }
.intro-copy p { margin: 0 0 30px; color: var(--ink-soft); font-size: 1.06rem; line-height: 2.05; }

.services-section { background: #f3eee4; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; }
.section-heading-row h2 { margin: 15px 0 0; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.section-heading-row > p { max-width: 380px; margin: 0; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; border: 1px solid rgba(23,48,79,.08); border-radius: 92px 92px 18px 18px; color: var(--ink); background: #fffdf8; text-decoration: none; transition: transform .35s, box-shadow .35s; }
.service-card:hover { color: var(--ink); transform: translateY(-10px); box-shadow: 0 22px 45px rgba(28,47,63,.1); }
.service-image { aspect-ratio: .92; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover img { transform: scale(1.04); }
.service-body { position: relative; min-height: 245px; padding: 26px 24px 58px; }
.service-age { color: var(--terracotta); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.service-body h3 { margin: 8px 0 12px; font-family: var(--serif); font-size: 1.55rem; }
.service-body p { margin: 0; color: var(--ink-soft); font-size: .91rem; }
.circle-arrow { position: absolute; right: 22px; bottom: 20px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.service-kid { background: #f7f9f1; }
.service-school { background: #f2f6f8; }
.service-camp { background: #fbf3e9; }
.section-cta { margin-top: 44px; text-align: center; }

.smart-section { overflow: hidden; background: #fffdf8; }
.smart-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(45px, 8vw, 120px); align-items: center; }
.smart-photo { position: relative; }
.smart-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: 0; background: #dfe6d7; border-radius: 4px 90px 4px 4px; }
.smart-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.18; border-radius: 4px 90px 4px 4px; object-fit: cover; box-shadow: 0 22px 55px rgba(22,43,59,.12); }
.photo-caption { position: absolute; z-index: 2; left: 0; bottom: -40px; color: var(--ink-soft); font-size: .65rem; letter-spacing: .16em; }
.smart-copy h2 { margin: 16px 0 24px; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.45; }
.smart-copy > p { color: var(--ink-soft); line-height: 2; }
.smart-points { margin: 28px 0 32px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.smart-points li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.smart-points span { color: var(--terracotta); font-size: .72rem; letter-spacing: .1em; }

.numbers-section { padding: 80px 0; color: #fff; background: var(--ink); }
.numbers-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: center; }
.numbers-intro { padding-right: 45px; }
.numbers-intro .eyebrow { color: #ddad89; }
.numbers-intro h2 { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(1.75rem, 2.5vw, 2.6rem); line-height: 1.55; }
.number-item { min-height: 160px; padding: 12px 28px; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: center; }
.number-item strong { font-family: var(--serif); font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 500; line-height: 1; }
.number-item sup { color: var(--sun); font-size: .36em; }
.number-item span { margin-top: 14px; color: rgba(255,255,255,.68); font-size: .85rem; }

.location-section { background: var(--paper); }
.location-card { position: relative; min-height: 510px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: clamp(48px, 7vw, 90px); background: #e8eadf; border-radius: 10px 120px 10px 10px; }
.location-card::before { content: ""; position: absolute; inset: auto -3% -43% auto; width: 55%; aspect-ratio: 1; border: 1px solid rgba(23,48,79,.1); border-radius: 50%; }
.location-copy { position: relative; z-index: 2; }
.location-copy h2 { margin: 16px 0 22px; font-size: clamp(2.2rem, 3.8vw, 3.8rem); line-height: 1.45; }
.location-copy p { margin-bottom: 28px; color: var(--ink-soft); }
.taiwan-mark { position: relative; z-index: 1; display: grid; place-items: center; height: 350px; }
.island { position: relative; display: grid; place-items: center; width: 185px; height: 325px; border-radius: 48% 52% 58% 42% / 30% 36% 64% 70%; color: rgba(255,255,255,.8); background: #8da08b; font: 600 .68rem/1 var(--sans); letter-spacing: .22em; transform: rotate(17deg); box-shadow: inset -18px -22px 40px rgba(32,62,50,.12); }
.map-dot { position: absolute; width: 14px; height: 14px; border: 3px solid white; border-radius: 50%; background: var(--brand); box-shadow: 0 3px 8px rgba(23,58,134,.25); }
.dot-1 { top: 48px; right: 50px; }.dot-2 { top: 112px; left: 43px; }.dot-3 { top: 196px; right: 38px; }.dot-4 { bottom: 48px; left: 65px; }

.news-section { background: #fffdf8; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.news-image { display: block; aspect-ratio: 1.42; overflow: hidden; border-radius: 4px 46px 4px 4px; background: var(--paper-deep); text-decoration: none; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover img { transform: scale(1.04); }
.news-placeholder { display: grid; place-items: center; height: 100%; color: var(--sage); font-family: var(--serif); font-size: 1.3rem; }
.news-meta { display: flex; justify-content: space-between; margin-top: 18px; color: var(--ink-soft); font-size: .7rem; letter-spacing: .12em; }
.news-card h3 { margin: 12px 0 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; }
.news-card h3 a { text-decoration: none; }

.home-cta { padding: 105px 0; text-align: center; color: white; background: linear-gradient(rgba(21,43,70,.87), rgba(21,43,70,.9)), url('../../images/hero.webp') center/cover; }
.home-cta .eyebrow { color: #f1c79e; }
.home-cta h2 { margin: 20px 0 34px; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: 1.5; }
.home-cta .btn { margin: 6px; }
.btn-light-outline { border: 1px solid rgba(255,255,255,.55); color: white; }
.btn-light-outline:hover { border-color: white; color: var(--ink); background: white; }

.site-footer { position: relative; isolation: isolate; color: var(--ink); background-color: #fbf7ed; background-image: url('../../images/design/footer-storybook-v1.webp'); background-position: center bottom; background-repeat: no-repeat; background-size: 100% auto; border-top: 1px solid rgba(58,84,77,.08); }
.site-footer::before { content: ""; position: absolute; z-index: -1; top: -22px; right: 0; left: 0; height: 30px; background: #fbf7ed; clip-path: polygon(0 50%,4% 28%,9% 54%,15% 31%,21% 57%,28% 27%,35% 52%,42% 24%,50% 55%,58% 29%,66% 56%,74% 25%,82% 53%,90% 29%,96% 52%,100% 34%,100% 100%,0 100%); }
.site-footer::after { content: none; }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1.55fr .8fr; gap: 42px; width: min(calc(100% - 200px),1040px); padding-top: 82px; padding-bottom: 240px; }
.footer-brand .brand-logo { width: 70px; height: 70px; }
.footer-brand p { max-width: 360px; margin: 24px 0 0; color: var(--ink-soft); font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links h2 { margin: 0 0 16px; color: #244c67; font-family: var(--serif); font-size: .88rem; font-weight: 700; letter-spacing: .1em; }
.footer-links a { display: block; width: max-content; margin: 9px 0; padding: 2px 0; color: var(--ink-soft); font-size: .84rem; text-decoration: none; transition: color .2s,transform .2s; }
.footer-links a:hover { color: var(--brand); transform: translateX(4px); }
.footer-contact p { margin: 14px 0 8px; color: var(--ink-soft); font-size: .84rem; }
.footer-phone { display: block; margin-bottom: 24px; font-family: var(--serif); font-size: 1.35rem; text-decoration: none; }
.footer-contact .text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-left: -104px; padding: 0 23px; border: 1px solid #173f61; border-radius: 999px; color: #fff; background: #173f61; box-shadow: 0 10px 24px rgba(23,63,97,.18); font-weight: 700; text-decoration: none; transition: transform .2s,background-color .2s,box-shadow .2s; }
.footer-contact .text-link:hover { color: #fff; background: #0f304c; box-shadow: 0 14px 30px rgba(23,63,97,.24); transform: translateY(-2px); }
.footer-bottom { position: absolute; z-index: 1; right: 0; bottom: 42px; left: 0; display: flex; justify-content: space-between; width: min(calc(100% - 200px),1040px); padding-top: 16px; padding-bottom: 0; border-top: 0; color: var(--ink-soft); font-size: .72rem; }
.footer-bottom p { margin: 0; }.footer-bottom a { margin-left: 22px; text-decoration: none; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(250,247,240,.9); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s; backdrop-filter: blur(8px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1399px) {
  .site-header .navbar-collapse { margin-top: 12px; padding: 20px; border: 1px solid var(--line); background: rgba(250,247,240,.98); box-shadow: 0 20px 45px rgba(23,48,79,.09); }
  .navbar-nav { align-items: stretch !important; }.translate-nav-item{margin:10px 0 2px}.translate-shell{width:100%;justify-content:flex-start}.goog-te-gadget .goog-te-combo{max-width:none}.nav-cta-item { margin: 10px 0 0; }.nav-cta-item .btn { width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }.service-image { aspect-ratio: 1.25; }.service-card { border-radius: 70px 70px 18px 18px; }
  .numbers-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1.5fr; }.footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .container-wide { width: min(100% - 30px, 1280px); }.section-pad { padding: 78px 0; }
  .site-nav-wrap { width: calc(100% - 20px); }.site-header .navbar { padding: 8px 0; }.brand-logo { width: 48px; height: 48px; }.brand-copy strong { font-size: .92rem; }.brand-copy small { display: none; }
  .home-hero { min-height: 760px; height: 100svh; max-height: 900px; }.home-hero-media { background-image: linear-gradient(180deg, rgba(250,247,240,.96) 0%, rgba(250,247,240,.82) 39%, rgba(250,247,240,.18) 70%), url('../../images/design/home-hero-v1.webp'); background-position: 66% center; }.home-hero-inner { align-items: flex-start; padding-top: 155px; }.home-hero-copy { width: 100%; }.home-hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.5rem); }.home-hero h1 span { white-space: normal; }.home-hero-copy > p { max-width: 92%; }.hero-note { display: none; }.hero-actions { align-items: stretch; flex-direction: column; width: fit-content; }.hero-scroll { display: none; }
  .intro-grid, .smart-grid, .location-card { grid-template-columns: 1fr; }.intro-grid { gap: 38px; }.display-heading { font-size: 2.55rem; }
  .section-heading-row { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }.section-heading-row h2 { font-size: 2.35rem; }
  .service-grid { grid-template-columns: 1fr; }.service-card { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 50px 12px 12px 12px; }.service-image { aspect-ratio: auto; height: 100%; }.service-body { min-height: 230px; padding: 28px 20px 55px; }
  .smart-grid { gap: 70px; }.smart-photo::before { inset: 14px -10px -14px 14px; }.smart-photo img { border-radius: 4px 55px 4px 4px; }.smart-copy h2 { font-size: 2.7rem; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }.numbers-intro { grid-column: 1 / -1; padding: 0 0 34px; }.number-item { min-height: 135px; padding: 10px 18px; }.number-item:nth-child(2) { border-left: 0; }.number-item:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }.number-item strong { font-size: 3.5rem; }
  .location-card { padding: 48px 28px; border-radius: 8px 70px 8px 8px; }.location-copy h2 { font-size: 2.45rem; }.taiwan-mark { height: 310px; }
  .news-grid { grid-template-columns: 1fr; gap: 42px; }.news-image { aspect-ratio: 1.55; }
  .home-cta { padding: 80px 0; }.home-cta h2 { font-size: 2.45rem; }
  .site-footer { background-image: url('../../images/design/footer-storybook-v1.webp'); background-position: 68% bottom; background-size: auto 230px; }
  .footer-main { width: min(100% - 40px,620px); grid-template-columns: 1fr; gap: 40px; padding-top: 66px; padding-bottom: 300px; }.footer-links { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }.footer-contact { grid-column: auto; }.footer-contact .text-link { margin-left: 0; }.footer-bottom { right:auto; bottom:210px; left:50%; align-items:flex-start; flex-direction:column; width:min(100% - 40px,620px); gap:8px; transform:translateX(-50%); }.footer-bottom a { margin: 0 20px 0 0; }
}

@media (max-width: 420px) {
  .brand-copy strong { font-size: .82rem; letter-spacing: .02em; }.service-card { grid-template-columns: 1fr; }.service-image { height: 220px; }.service-body { min-height: 210px; }
}

/* Google Translate safety: translated labels must never enlarge or overflow the UI. */
html.translated-ltr body,html.translated-rtl body{overflow-x:hidden!important}
html.translated-ltr :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1,html.translated-rtl :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1{max-width:100%!important;font-size:clamp(1.55rem,2.25vw,2.35rem)!important;line-height:1.28!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:auto!important}
html.translated-ltr :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1 *,html.translated-rtl :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1 *{font:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;white-space:normal!important}
html.translated-ltr :is(.home-hero-copy,.b-hero-copy,.sv-hero-copy,.ab-hero-copy,.fd-intro,.lc-hero-copy,.nw-hero-copy,.vd-hero-copy,.cr-hero-copy,.cp-hero-copy,.ca-hero-copy,.ct-hero-grid>div:first-child,.cd-hero-copy,.ci-hero-inner),html.translated-rtl :is(.home-hero-copy,.b-hero-copy,.sv-hero-copy,.ab-hero-copy,.fd-intro,.lc-hero-copy,.nw-hero-copy,.vd-hero-copy,.cr-hero-copy,.cp-hero-copy,.ca-hero-copy,.ct-hero-grid>div:first-child,.cd-hero-copy,.ci-hero-inner){min-width:0!important;max-width:min(650px,52vw)!important}
html.translated-ltr :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) p,html.translated-rtl :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) p{font-size:clamp(.82rem,1.05vw,1rem)!important;line-height:1.75!important;overflow-wrap:anywhere!important}
@media(max-width:767px){html.translated-ltr :is(.home-hero-copy,.b-hero-copy,.sv-hero-copy,.ab-hero-copy,.fd-intro,.lc-hero-copy,.nw-hero-copy,.vd-hero-copy,.cr-hero-copy,.cp-hero-copy,.ca-hero-copy,.ct-hero-grid>div:first-child,.cd-hero-copy,.ci-hero-inner),html.translated-rtl :is(.home-hero-copy,.b-hero-copy,.sv-hero-copy,.ab-hero-copy,.fd-intro,.lc-hero-copy,.nw-hero-copy,.vd-hero-copy,.cr-hero-copy,.cp-hero-copy,.ca-hero-copy,.ct-hero-grid>div:first-child,.cd-hero-copy,.ci-hero-inner){width:100%!important;max-width:100%!important}html.translated-ltr :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1,html.translated-rtl :is(.home-hero,.b-hero,.sv-hero,.ab-hero,.fd-hero,.lc-hero,.nw-hero,.vd-hero,.cr-hero,.cp-hero,.ca-hero,.ct-hero,.cd-hero,.ci-hero) h1{font-size:clamp(1.45rem,6.8vw,2rem)!important;line-height:1.23!important}}

/* Compact custom language control: native Google widget remains functional inside the popover. */
.translate-corner{position:fixed;z-index:1300;top:8px;right:10px;height:auto;padding:0;border-radius:50%;background:transparent;box-shadow:none}
.translate-trigger{display:grid;width:42px;height:42px;place-items:center;padding:0;border:1px solid rgba(23,56,82,.16);border-radius:50%;background:rgba(255,253,247,.94);color:#315f55;box-shadow:0 5px 18px rgba(37,55,51,.1);cursor:pointer;backdrop-filter:blur(10px);transition:color .2s,background .2s,transform .2s,box-shadow .2s}
.translate-trigger::-webkit-details-marker{display:none}.translate-trigger::marker{content:""}
.translate-trigger:hover,.translate-trigger:focus-visible,.translate-corner[open] .translate-trigger{background:#e8efdd;color:#173852;box-shadow:0 8px 22px rgba(37,55,51,.16);transform:translateY(-1px)}
.translate-trigger svg{display:block;width:22px;height:22px}
.translate-panel{position:absolute;top:45px;right:0;min-width:178px;padding:10px 12px;border:1px solid rgba(23,56,82,.12);border-radius:16px 5px 16px 16px;background:#fffdf8;box-shadow:0 16px 42px rgba(30,47,45,.16);opacity:0;visibility:hidden;transform:translateY(-7px);transition:opacity .2s,visibility .2s,transform .2s}
.translate-corner[open] .translate-panel{opacity:1;visibility:visible;transform:none}
.translate-panel .goog-te-gadget{height:auto;overflow:visible;line-height:normal!important}.translate-panel .goog-te-gadget .goog-te-combo{width:100%;max-width:none;height:36px;padding:0 10px!important;border:1px solid rgba(23,56,82,.13);border-radius:10px;background:#fff;color:#244354;font-size:.78rem!important}
.translate-panel .goog-te-gadget>span{display:none!important}
@media(max-width:767px){.translate-corner{top:6px;right:7px;max-width:none}.translate-trigger{width:40px;height:40px}.translate-panel{top:44px;right:0;min-width:158px}}

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

/* Original-site header: controls remain visible over the unobstructed hero;
   the glass-white header surface appears only after scrolling. */
.site-header{background:transparent;border-bottom-color:transparent;box-shadow:none;backdrop-filter:none}
.site-header .navbar{padding:8px 0;transition:padding .3s ease}
.site-nav-wrap{width:min(1680px,calc(100% - 40px))}
.brand-logo{width:68px;height:68px;transition:width .3s ease,height .3s ease}
.brand-copy strong{font-size:1.34rem;transition:color .25s ease,text-shadow .25s ease}
.brand-copy small{font-size:.68rem;transition:color .25s ease,text-shadow .25s ease}
.navbar-nav{gap:8px}
.navbar-nav .nav-link{overflow:hidden;padding:.5rem .65rem!important;color:#173852;font-size:1.06rem;font-weight:600;text-shadow:0 1px 0 rgba(255,255,255,.95),0 0 10px rgba(255,255,255,.9);transition:color .2s ease,text-shadow .2s ease}
.navbar-nav .nav-link::before{left:.65rem;right:.65rem;bottom:.18rem;height:4px;border-radius:2px 2px 0 0;background:#19b7a7;box-shadow:0 2px 8px rgba(25,183,167,.38);transform-origin:left;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.navbar-nav .nav-link:hover,.navbar-nav .nav-link:focus{color:#0b7069;text-shadow:0 1px 0 rgba(255,255,255,.98),0 0 10px rgba(255,255,255,.95)}
.navbar-nav .nav-link:hover::before,.navbar-nav .nav-link:focus::before{transform:scaleX(1)}
.navbar-nav .nav-link.active{border-radius:0;background:transparent;color:#0b7069;text-shadow:0 1px 0 rgba(255,255,255,.98),0 0 10px rgba(255,255,255,.95)}
.navbar-nav .nav-link.active::before{transform:scaleX(1)}
.site-header.is-scrolled .navbar-nav .nav-link.active{background:transparent;color:#08645f;text-shadow:none}
.dropdown-menu .dropdown-item.active{background:#fff4bf;color:#76500c;font-weight:700}
.nav-cta-item .btn.active{outline:3px solid rgba(23,56,82,.28);outline-offset:3px;box-shadow:0 8px 22px rgba(23,56,82,.18)}
.site-header:not(.is-scrolled) .brand-copy strong{color:var(--brand);text-shadow:0 1px 0 rgba(255,255,255,.98),0 0 10px rgba(255,255,255,.95)}
.site-header:not(.is-scrolled) .brand-copy small{color:#385365;text-shadow:0 1px 0 rgba(255,255,255,.98),0 0 9px rgba(255,255,255,.95)}
.site-header.is-scrolled{background:rgba(255,255,255,.72);border-bottom-color:rgba(34,65,83,.08);box-shadow:0 2px 8px rgba(0,0,0,.06);backdrop-filter:blur(8px)}
.site-header.is-scrolled .navbar{padding:4px 0}
.site-header.is-scrolled .brand-logo{width:58px;height:58px}
.site-header.is-scrolled .navbar-nav .nav-link{color:#212529;text-shadow:none}
.site-header.is-scrolled .navbar-nav .nav-link:hover,.site-header.is-scrolled .navbar-nav .nav-link:focus{color:#222}
.nav-cta-item .btn{font-size:.95rem}
.hover-dropdown:hover>.dropdown-menu,.hover-dropdown:focus-within>.dropdown-menu{display:block;opacity:1;visibility:visible;margin-top:0;pointer-events:auto}
.hover-dropdown>.dropdown-menu{display:block;opacity:0;visibility:hidden;min-width:180px;margin-top:10px;border:0;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12);pointer-events:none;transition:opacity .25s,visibility .25s,margin-top .25s}
.dropdown-item{padding:10px 24px;font-size:1rem;border-radius:6px;transition:background .2s,color .2s}
.dropdown-item:hover,.dropdown-item:focus{background:#ffd600;color:#222}

/* 筆電寬度：導覽整排左移，保留翻譯框的安全區；大型桌機維持原配置。 */
@media(min-width:1400px) and (max-width:1750px){
  .site-nav-wrap{width:calc(100% - 24px)}
  .brand-logo{width:60px;height:60px}
  .brand-copy strong{font-size:1.12rem}
  .brand-copy small{font-size:.58rem}
  .navbar-nav{gap:2px;margin-right:clamp(112px,8.5vw,150px)!important}
  .navbar-nav .nav-link{padding:.46rem .46rem!important;font-size:.94rem}
  .navbar-nav .nav-link::before{left:.46rem;right:.46rem}
  .nav-cta-item .btn{padding-inline:1rem;font-size:.86rem;white-space:nowrap}
}

@media(max-width:1399px){
  .site-header{background:rgba(255,255,255,.88);backdrop-filter:blur(10px)}
  .site-header:not(.is-scrolled) .brand-copy strong{color:var(--brand);text-shadow:none}
  .site-header:not(.is-scrolled) .brand-copy small{color:var(--ink-soft);text-shadow:none}
  .navbar-nav .nav-link{color:var(--ink);font-size:1rem;text-shadow:none}
  .hover-dropdown>.dropdown-menu{display:none;opacity:1;visibility:visible;pointer-events:auto}
  .hover-dropdown>.dropdown-menu.show{display:block}
}
