:root {
  color-scheme: light;
  --forest: #163c30;
  --forest-deep: #102e26;
  --leaf: #347457;
  --leaf-light: #dceae0;
  --cream: #f7f6f0;
  --paper: #fffefa;
  --ink: #1c3028;
  --muted: #53655a;
  --line: #dce3d9;
  --warm: #f3bb65;
  --shadow: 0 16px 45px rgba(14, 47, 33, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif; line-height: 1.7; }
body, button { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 5.3vw, 4.9rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 3.05rem); }
h3 { font-size: 1.28rem; }
:focus-visible { outline: 3px solid #ce7a2e; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -60px; padding: 10px 16px; background: #fff; color: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(68px, 8vw, 116px); }
.section-small { padding-block: clamp(48px, 6vw, 80px); }
.eyebrow { display: inline-block; color: var(--leaf); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow.light { color: var(--warm); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { max-width: 690px; margin-bottom: 0; }
.section-lead { color: var(--muted); max-width: 710px; font-size: 1.06rem; }
.section-head .section-lead { max-width: 340px; margin: 0; }
.muted { color: var(--muted); }
.text-link { color: var(--leaf); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link::after { content: "↗"; font-size: 1.08em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 254, 250, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(182px, 21vw, 255px); height: auto; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.desktop-nav a { font-size: .93rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--leaf); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 8px; color: var(--leaf); font-size: .84rem; font-weight: 900; }
.language-switch:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 46px; padding: 11px 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; font-size: .94rem; line-height: 1.25; text-align: center; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--leaf); border: 1px solid var(--leaf); }
.button-primary:hover { background: #245a42; border-color: #245a42; }
.button-light { color: var(--forest-deep); background: #fffefa; border: 1px solid #fffefa; }
.button-outline { color: var(--forest); background: transparent; border: 1px solid #9bb7a3; }
.button-outline:hover { border-color: var(--leaf); background: #f1f7f1; }
.button-on-dark { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.62); }
.button-on-dark:hover { background: rgba(255,255,255,.1); }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-weight: 800; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::before { content: "☰"; margin-right: 8px; }
.menu-panel { position: absolute; top: calc(100% + 14px); right: 0; width: min(300px, calc(100vw - 40px)); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; }
.menu-panel a { display: block; padding: 12px; border-radius: 9px; font-weight: 700; }
.menu-panel a:hover { background: var(--leaf-light); }

.hero { color: #fff; background: var(--forest-deep); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 94px); }
.hero h1 { max-width: 14ch; margin-bottom: 22px; }
html[lang="en-HK"] .hero h1 { max-width: 22ch; font-size: clamp(2.5rem, 4vw, 3.5rem); }
.hero p { color: #dcece1; font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 560px; margin-bottom: 28px; }
.hero-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 40px; color: #e8f3ea; font-size: .92rem; }
.hero-points span::before { content: "✓"; color: var(--warm); font-weight: 900; margin-right: 8px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: clamp(420px, 42vw, 600px); object-fit: cover; border-radius: 24px; box-shadow: 0 28px 60px rgba(0,0,0,.22); }
.hero-label { position: absolute; left: -24px; bottom: 24px; background: var(--paper); color: var(--forest); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; font-size: .86rem; font-weight: 800; }
.hero-label strong { display: block; font-size: 1.05rem; }
.intro-strip { background: #e7eee6; border-bottom: 1px solid #d6e2d4; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-item { padding: 26px 24px; border-left: 1px solid #cfddce; }
.intro-item:first-child { border-left: 0; padding-left: 0; }
.intro-item span { color: var(--leaf); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.intro-item strong { display: block; font-size: 1.08rem; margin-top: 4px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: 19px; overflow: hidden; box-shadow: 0 6px 20px rgba(21,55,37,.035); transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; background: #d7e4d6; }
.service-card-body { padding: 24px; }
.service-card .number { color: var(--leaf); font-weight: 900; letter-spacing: .13em; font-size: .72rem; }
.service-card h3 { margin: 9px 0 9px; }
.service-card p { color: var(--muted); font-size: .93rem; min-height: 3.4em; margin-bottom: 18px; }
.service-card a.stretch { display: inline-flex; color: var(--leaf); font-weight: 800; align-items: center; gap: 7px; }
.service-card a.stretch:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-card a.stretch::after { content: "→"; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
.service-card:nth-child(4) { grid-column: 1 / 2; }
.service-card:nth-child(5) { grid-column: 2 / 3; }
.english-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.english-service-grid .service-card:nth-child(4) { grid-column: auto; }
.school-callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding: 28px 32px; border: 1px solid #b9cfba; border-radius: 20px; background: #eaf2e9; }
.school-callout .eyebrow { margin-bottom: 6px; }
.school-callout h2, .school-callout h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.school-callout p { color: var(--muted); margin-bottom: 0; }
.school-callout .button { flex: 0 0 auto; }

.process { background: #eaf0e8; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: process; }
.process-item { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.process-item::before { counter-increment: process; content: "0" counter(process); display: block; color: var(--leaf); font-size: .82rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 22px; }
.process-item h3 { margin-bottom: 10px; }
.process-item p { margin-bottom: 0; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { margin: 0; overflow: hidden; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.gallery-item figcaption { padding: 13px 16px; font-weight: 700; font-size: .87rem; color: var(--forest); }
.project-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
.about-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; background: var(--forest); color: #fff; border-radius: 24px; }
.about-panel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.about-copy { padding: clamp(34px, 5vw, 72px); align-self: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: #dcebe0; }
.about-copy .text-link { color: #fff; }
.about-copy .text-link::after { color: var(--warm); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 0 20px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--leaf); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 26px 20px 0; margin: 0; color: var(--muted); }
.contact-band { background: var(--forest-deep); color: #fff; }
.contact-band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.contact-band h2 { margin-bottom: 15px; }
.contact-band p { color: #d9e8de; max-width: 600px; }
.contact-methods { display: grid; gap: 14px; }
.contact-methods a { display: block; padding: 17px 19px; border: 1px solid rgba(255,255,255,.25); border-radius: 13px; background: rgba(255,255,255,.05); }
.contact-methods a:hover { background: rgba(255,255,255,.11); }
.contact-methods small { display: block; color: #bbd5c1; margin-bottom: 2px; }
.contact-methods strong { font-size: clamp(1rem, 1.9vw, 1.28rem); overflow-wrap: anywhere; }
.site-footer { background: #f0f1e9; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 34px; padding-block: 48px; }
.footer-grid img { width: 225px; height: auto; margin-bottom: 17px; }
.footer-grid h3 { font-size: .95rem; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { font-size: .86rem; color: var(--muted); }
.footer-grid a:hover { color: var(--leaf); text-decoration: underline; }
.footer-links { display: grid; gap: 7px; }
.copyright { border-top: 1px solid var(--line); padding-block: 17px; font-size: .78rem; color: var(--muted); }

.breadcrumb { padding-block: 20px; font-size: .83rem; color: var(--muted); }
.breadcrumb a { color: var(--leaf); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: 7px; }
.page-hero { background: var(--forest-deep); color: #fff; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: 50px 70px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: #dcebe0; max-width: 55ch; }
.page-hero img { width: 100%; height: clamp(370px, 37vw, 520px); object-fit: cover; border-radius: 20px; }
.page-hero .hero-actions { margin-top: 28px; }
.narrow { max-width: 780px; }
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.content-grid p { color: var(--muted); }
.feature-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 17px 20px; border-left: 3px solid var(--leaf); background: var(--paper); border-radius: 0 11px 11px 0; }
.feature-list strong { display: block; margin-bottom: 3px; }
.feature-list span { color: var(--muted); font-size: .92rem; }
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.service-gallery img { width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; }
.service-gallery figcaption { padding: 10px 13px; color: var(--muted); font-size: .82rem; }
.service-next { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 26px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.info-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.info-card h3 { margin-bottom: 12px; }
.info-card p { color: var(--muted); margin-bottom: 0; }
.school-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.school-services .text-link { margin-top: 18px; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; font-weight: 800; }
.step-grid li::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--leaf); font-size: .83rem; letter-spacing: .08em; }
.editorial-section { background: #f4f6f1; }
.editorial-section p { color: var(--muted); }
.related-panel { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.related-panel h3 { margin-bottom: 14px; }
.related-panel ul { margin: 0; padding-left: 1.2em; }
.related-panel li { margin: 10px 0; color: var(--muted); }
.related-panel a, .inline-link { color: var(--leaf); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.related-services { background: #f4f6f1; }
.related-services-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.related-services-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--forest); font-weight: 800; }
.related-services-links a:hover { border-color: #9bb7a3; color: var(--leaf); }
.related-services-links span { color: var(--leaf); }
.project-note { color: var(--muted); max-width: 70ch; }
.project-category { color: var(--leaf); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.project-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.project-facts div { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.project-facts dt { color: var(--muted); font-size: .8rem; }
.project-facts dd { margin: 5px 0 0; font-weight: 800; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 42px); }
.contact-card h2 { font-size: 1.7rem; margin-bottom: 20px; }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--muted); font-size: .82rem; font-weight: 700; margin-top: 20px; }
.contact-card dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.contact-card dd a { color: var(--leaf); }
.contact-card dd a:hover { text-decoration: underline; }
.mobile-contact { display: none; }

@media (max-width: 1120px) {
  .header-inner { min-height: 72px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 17ch; }
  .hero-visual img { height: 400px; }
  .hero-label { left: 14px; bottom: 14px; }
  .section-head { display: block; }
  .section-head .section-lead { max-width: 700px; margin-top: 12px; }
  .gallery-grid, .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid, .about-panel, .contact-band-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-panel img { max-height: 450px; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-callout { align-items: start; flex-direction: column; }
  .related-services-links { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1200px); }
  .brand img { width: 180px; }
  h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero-grid { padding-block: 44px 34px; gap: 34px; }
  .hero p { font-size: 1rem; }
  .hero-actions .button, .cta-actions .button { flex: 1 1 100%; }
  .hero-visual img { height: 330px; }
  .hero-label { font-size: .75rem; }
  .hero-points { margin-top: 27px; }
  .intro-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .intro-item, .intro-item:first-child { padding: 13px 0; border-left: 0; border-top: 1px solid #cfddce; }
  .intro-item:first-child { border-top: 0; }
  .service-grid, .process-grid, .gallery-grid, .service-gallery { grid-template-columns: 1fr; }
  .project-gallery, .project-facts { grid-template-columns: 1fr; }
  .info-grid, .school-services, .step-grid { grid-template-columns: 1fr; }
  .school-callout { padding: 24px; }
  .school-callout .button { width: 100%; }
  .service-card p { min-height: 0; }
  .gallery-item img, .service-gallery img { aspect-ratio: 1.55; }
  .about-copy { padding: 32px 25px 38px; }
  .page-hero-grid { padding-block: 35px 54px; }
  .page-hero img { height: 310px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 38px; }
  .mobile-contact { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(16,46,38,.11); }
  .mobile-contact .button { min-height: 44px; padding: 8px 11px; font-size: .85rem; }
  body { padding-bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-card { transition: none; }
}
