/* Ellis Services business theme. Agency's section and portfolio foundations,
   adapted for a local trade service with plain navigation and distinct page roles. */
:root {
  --primary: #222222;
  --ink: #171717;
  --muted: #5a5a5a;
  --accent: #d9d9d9;
  --secondary: #eeeeee;
  --surface: #f5f5f5;
  --white: #fff;
  --line: #dedede;
  --radius: 6px;
  --thumb: #929292;
  --track: #f0f0f0;
  --thumb-hover: #5a5a5a;
  --thumb-active: #222222;
  --bs-body-font-family: 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif;
  --bs-body-color: #171717;
  --bs-body-bg: #fff;
  color-scheme: light;
  font-family: 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif;
  scrollbar-color: var(--thumb) var(--track);
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 106px; scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif; font-size: 17px; line-height: 1.65; }
body:lang(zh) { font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans CJK TC', 'Noto Sans TC', Arial, sans-serif; }
h1, h2, h3, h4, body:lang(zh) h1, body:lang(zh) h2 { font-family: inherit; font-style: normal; font-weight: 700; letter-spacing: -.025em; line-height: 1.18; }
h1 { font-size: clamp(36px, 4.3vw, 52px); }
h2 { font-size: clamp(27px, 3vw, 36px); }
h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.015em; }
body:lang(zh) h1, body:lang(zh) h2, body:lang(zh) h3 { letter-spacing: .005em; line-height: 1.4; }
p { max-width: 72ch; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figcaption { font-size: 13px; line-height: 1.6; color: var(--muted); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); }
a, button, select, summary { -webkit-tap-highlight-color: #2222221a; }
::selection { color: var(--ink); background: #dddddd; }
:focus-visible { outline: 3px solid #555555; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 64px)); max-width: none; padding-left: 0; padding-right: 0; margin: 0 auto; }
.section, .page-section { padding: 64px 0; }
.soft { background: var(--surface); }
.dark { background: var(--primary); color: #fff; }
.eyebrow { color: var(--primary); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 13px; }
body:lang(zh) .eyebrow { letter-spacing: .08em; text-transform: none; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.7; }
.small { color: var(--muted); font-size: 14px; line-height: 1.7; }
.skip { background: #fff; color: var(--primary); border: 2px solid var(--primary); border-radius: 6px; }
.preview-bar { color: var(--muted); background: var(--secondary); }
.button, .button.navy { min-height: 48px; padding: 12px 21px; border-radius: 6px; border: 1px solid var(--primary); background: var(--primary); color: white; font-size: 14px; line-height: 1.5; font-weight: 650; gap: 10px; text-decoration: none; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.button:hover, .button.navy:hover { background: #3a3a3a; border-color: #3a3a3a; color: white; text-decoration: none; }
.button.secondary { background: white; border-color: #bcbcbc; color: var(--primary); }
.button.secondary:hover { background: var(--secondary); border-color: var(--primary); color: var(--primary); }
.button:disabled, .button[aria-disabled=true] { cursor: default; opacity: .55; }
.button:active, button:active { transform: translateY(1px); }

/* A compact shared header. Home remains visible in the desktop navigation. */
.header { position: sticky; top: 0; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 3px 16px #17171705; z-index: 30; }
.nav { min-height: 86px; gap: 20px; display: flex; align-items: center; flex-wrap: nowrap; }
.logo { flex-shrink: 0; gap: 10px; color: var(--ink); display: inline-flex; align-items: center; text-decoration: none; }
.logo:hover { color: var(--primary); text-decoration: none; }
.logo svg { display: block; width: 42px; height: 42px; flex-shrink: 0; }
.logo .brand-name, .logo strong { display: block; font-size: 22px; line-height: 1.2; letter-spacing: -.045em; font-weight: 750; }
.logo .brand-service, .logo small { display: block; font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; text-transform: none; margin-top: 3px; color: var(--muted); }
.nav-links { order: 2; margin-left: auto; gap: 21px; display: flex; align-items: center; }
.nav-links > a { padding: 11px 0; font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links > a:hover { color: var(--primary); }
.nav-links > a[aria-current=page] { box-shadow: 0 2px var(--primary); color: var(--primary); }
.nav-links > a[lang] { display: none; }
.nav-links > .nav-phone, .nav .button { padding: 10px 14px; min-height: 43px; margin-left: 1px; border-radius: 6px; background: var(--primary); color: white; font-size: 12px; box-shadow: none; }
.nav-links > .nav-phone:hover, .nav .button:hover { background: #3a3a3a; color: white; }
.header-language { order: 3; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 7px 0 7px 15px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--primary); text-decoration: none; }
.header-language:hover { text-decoration: underline; }
.nav > .nav-phone { order: 4; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 10px 14px; min-height: 44px; background: var(--primary); border: 1px solid var(--primary); border-radius: 6px; color: white; font-size: 12px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.nav > .nav-phone:hover { color: white; background: #3a3a3a; border-color: #3a3a3a; }
.menu-button { order: 4; display: none; border-color: var(--line); background: white; color: var(--ink); border-radius: 6px; font-size: 13px; line-height: 1.5; }
.menu-button:hover, .menu-button[aria-expanded=true] { border-color: var(--primary); background: var(--secondary); }

/* The homepage starts with the business and the services, then useful next steps. */
.business-home { background: white; }
.business-home .masthead { padding: 34px 0; text-align: left; background: linear-gradient(110deg, #f5f5f5 0%, #eeeeee 100%); color: var(--ink); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 46px; }
.hero-copy h1 { margin-bottom: 15px; font-size: clamp(40px, 4.2vw, 52px); line-height: 1.14; max-width: 630px; color: var(--ink); }
body:lang(zh) .hero-copy h1 { font-size: clamp(36px, 3.8vw, 44px); line-height: 1.35; }
.hero-services { font-size: 21px; font-weight: 650; color: var(--primary); line-height: 1.5; margin-bottom: 15px; }
.hero-description { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 540px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 24px 0 0; }
.hero-photo { width: 100%; aspect-ratio: auto; border-radius: 8px; overflow: hidden; background: white; box-shadow: 0 9px 26px #17171712; }
.hero-photo img { width: 100%; height: 240px; aspect-ratio: auto; object-fit: cover; object-position: center 53%; border-radius: 0; }
.hero-photo-caption { padding: 11px 16px; margin: 0; background: white; color: #5a5a5a; font-size: 12px; line-height: 1.5; }
.business-strip { background: var(--primary); color: white; }
.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip-item { padding: 18px 28px; font-size: 13px; line-height: 1.6; display: block; }
.strip-item > span { display: block; color: #dddddd; font-size: 12px; margin-top: 2px; }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { padding-right: 0; }
.strip-item + .strip-item { border-left: 1px solid #ffffff28; }
.strip-item svg { width: 24px; height: 24px; color: #cccccc; flex-shrink: 0; }
.strip-item strong, .strip-item b { font-size: 14px; font-weight: 600; display: block; color: white; }
.strip-item p { margin: 0; font-size: 12px; color: #dddddd; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.page-section .section-heading, .page-section h2.section-heading { font-size: inherit; margin-bottom: 28px; text-transform: none; }
.section-heading h2 { font-size: 33px; margin-bottom: 0; max-width: 670px; }
.section-heading .eyebrow { font-size: 12px; line-height: 1.5; margin: 0 0 9px; }
.section-heading .section-lead { margin: 10px 0 0; }
.business-home .home-services { padding-top: 44px; }
.section-heading > a { flex-shrink: 0; color: var(--primary); font-size: 14px; font-weight: 650; text-decoration: none; padding: 8px 0; }
.section-heading > a:hover { text-decoration: underline; }
.section-heading p, .section-lead { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 690px; }
.section-heading p { margin-top: 12px; }
.section-lead { margin-bottom: 28px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 24px; min-height: 224px; box-shadow: 0 4px 14px #17171703; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.service-card:hover { border-color: #ababab; box-shadow: 0 7px 22px #1717170a; color: var(--ink); text-decoration: none; }
.service-icon { display: flex; align-items: center; justify-content: center; background: var(--secondary); color: var(--primary); width: 44px; height: 44px; border-radius: 7px; margin-bottom: 18px; }
.service-icon svg { width: 25px; height: 25px; }
.service-number { display: none; }
.service-card .service-title, .service-card h3 { color: var(--ink); font-size: 20px; line-height: 1.35; margin-bottom: 9px; }
.service-desc, .service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.service-card .card-link { margin-top: auto; font-size: 13px; font-weight: 650; color: var(--primary); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.business-home .service-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; gap: 13px 14px; min-height: 206px; }
.business-home .service-icon { margin: 0; }
.business-home .service-card .service-title { margin: 0; align-self: center; }
.business-home .service-card .service-desc { grid-column: 1 / -1; margin: 0; }
.business-home .service-card .card-link { grid-column: 1 / -1; margin-top: 5px; }
.home-process { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.process-step { border-top: 0; padding-top: 0; position: relative; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #c9c9c9; border-radius: 50%; color: var(--primary); background: white; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.process-step h3 { font-size: 21px; margin-bottom: 12px; }
.process-step p { font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 0; }
.home-areas { background: white; }
.area-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.area-columns > div { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.area-columns h3 { margin-bottom: 15px; color: var(--primary); font-size: 17px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.area-columns a { display: block; color: var(--muted); font-size: 14px; text-decoration: none; line-height: 1.6; padding: 7px 0; }
.area-columns a:hover { color: var(--primary); text-decoration: underline; }
.home-project-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-project-link { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: white; text-decoration: none; }
.home-project-link:hover { border-color: #ababab; color: var(--ink); text-decoration: none; }
.home-project-thumb { width: 92px; height: 102px; flex-shrink: 0; border-radius: 5px; object-fit: cover; object-position: center; }
.home-project-thumb img { width: 100%; height: 102px; object-fit: cover; border-radius: 5px; }
.home-project-text { flex: 1; }
.home-project-text h3 { font-size: 16px; margin-bottom: 7px; line-height: 1.45; }
.home-project-text p { color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 7px; }
.home-project-text span { color: var(--primary); font-size: 12px; font-weight: 600; }
.home-contact { background: var(--secondary); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 38px; background: var(--primary); color: white; border-radius: 10px; padding: 34px 40px; }
.contact-panel h2 { font-size: 32px; margin-bottom: 12px; }
.contact-panel .eyebrow { color: #cccccc; }
.contact-panel p { color: #dddddd; font-size: 15px; line-height: 1.7; margin-bottom: 0; max-width: 660px; }
.contact-panel-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.contact-panel .button { background: white; border-color: white; color: var(--primary); }
.contact-panel .button:hover { background: #eeeeee; border-color: #eeeeee; color: var(--primary); }
.contact-panel .button.secondary { background: transparent; border-color: #bcbcbc; color: white; }
.contact-panel .button.secondary:hover { background: #ffffff14; border-color: white; }
.guide-grid { gap: 22px; }
.guide-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 25px; display: block; text-decoration: none; }
.guide-card h3 { font-size: 21px; margin-bottom: 11px; }
.guide-card p { font-size: 15px; line-height: 1.7; margin-bottom: 17px; }
.guide-card span { color: var(--primary); font-size: 13px; font-weight: 650; }
.guide-card:hover { border-color: #ababab; color: var(--ink); text-decoration: none; }
.business-home .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-size: 17px; font-weight: 600; line-height: 1.65; }
.faq summary:after { color: var(--primary); }
.faq details p { font-size: 16px; line-height: 1.75; color: var(--muted); }

/* Service and guide pages favour readable text and a useful contact sidebar. */
.breadcrumb { font-size: 12px; padding: 18px 0; gap: 9px; margin: 0 auto; color: var(--muted); }
.page-hero { background: var(--secondary); padding: 35px 0 39px; border-bottom: 1px solid #dedede; }
.page-hero h1 { font-size: clamp(34px, 3.9vw, 48px); font-weight: 700; max-width: 920px; line-height: 1.2; margin-bottom: 17px; }
body:lang(zh) .page-hero h1 { font-size: clamp(32px, 3.6vw, 42px); line-height: 1.4; }
.page-hero .lead { max-width: 860px; font-size: 18px; line-height: 1.75; margin-bottom: 0; }
.page-hero .eyebrow { margin-bottom: 11px; }
.content-layout, .layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 58px; align-items: start; }
.prose { color: var(--ink); }
.prose h2 { font-size: 27px; font-family: inherit; line-height: 1.35; font-weight: 650; letter-spacing: -.02em; margin-top: 38px; margin-bottom: 18px; }
.prose h3 { font-size: 20px; font-weight: 650; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; }
.prose a { color: var(--primary); }
.prose a:hover { color: #3a3a3a; }
.aside, .sidebar { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 8px; padding: 25px; top: 111px; position: sticky; font-size: 14px; }
.aside h3, .sidebar h3 { color: var(--ink); font-size: 19px; font-weight: 650; }
.aside p, .sidebar p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.aside a:not(.button), .sidebar a:not(.button) { font-size: 14px; line-height: 1.6; color: var(--primary); }
.aside .button, .sidebar .button { margin-top: 15px; width: 100%; }
.notice { background: #f5f5f5; border-left: 3px solid #888888; border-radius: 0 6px 6px 0; padding: 21px 24px; margin: 25px 0; color: var(--ink); }
.notice p { font-size: 15px; line-height: 1.75; }
.notice p:last-child { margin-bottom: 0; }
.page-links { gap: 10px; }
.page-links a { padding: 9px 13px; background: white; border-color: var(--line); border-radius: 6px; font-size: 14px; }
.page-links a:hover { background: var(--secondary); border-color: #b0b0b0; }
.area-hero-tag { border-color: #c9c9c9; color: var(--primary); background: #fff; border-radius: 5px; margin-bottom: 16px; }
.area-grid { gap: 0 26px; }
.area-link { color: var(--ink); border-color: var(--line); padding: 17px 0; line-height: 1.5; }
.search-bar { background: white; border-color: #bcbcbc; border-radius: 6px; }
.search-bar input { color: var(--ink); }
.search-bar button { color: var(--primary); border-radius: 4px; }
.no-results { background: var(--secondary); }
.two-cards, .cards { gap: 22px; }
.mini-card, .card { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 24px; box-shadow: 0 3px 14px #17171703; }
.quote-table th { background: var(--secondary); }
.quote-table td, .quote-table th { border-color: var(--line); padding: 16px; line-height: 1.65; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 58px; }
.form-grid { gap: 18px; }
.field input, .field textarea, .field select { border: 1px solid #bcbcbc; border-radius: 6px; background: white; color: var(--ink); font-family: inherit; font-size: 16px; }
.field textarea { resize: none; min-height: 140px; }
.field label { color: var(--ink); font-size: 14px; }
.field .small { font-size: 13px; }
.field .error { color: #333333; }
.draft-panel { border-color: #c9c9c9; background: var(--secondary); border-radius: 8px; }
.draft-panel pre { color: var(--ink); font-family: inherit; font-size: 15px; }
.cta { gap: 40px; }
.cta h2 { font-size: 34px; font-weight: 650; }
.cta p { color: #dddddd; font-size: 16px; }
.dark .button { background: white; color: var(--primary); border-color: white; }
.dark .button:hover { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }

/* Case study hub: equal evidence cards. Detail pages show the full photo story. */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio-item { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px #17171705; }
.project-card-link { display: flex; height: 100%; flex-direction: column; color: var(--ink); text-decoration: none; }
.project-card-link:hover { color: var(--ink); text-decoration: none; }
.portfolio-item:hover { border-color: #ababab; box-shadow: 0 7px 22px #1717170c; }
.project-card-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: #eeeeee; }
.project-card-photos figure { position: relative; margin: 0; }
.project-card-photos img { width: 100%; height: 220px; object-fit: cover; object-position: center; }
.photo-stage { position: absolute; bottom: 9px; left: 9px; color: white; background: #171717e8; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.portfolio-caption { display: flex; flex-direction: column; padding: 22px; flex: 1; text-align: left; }
.project-category, .project-kind { font-size: 11px; line-height: 1.5; font-weight: 650; letter-spacing: .05em; color: var(--primary); margin-bottom: 9px; text-transform: uppercase; }
.portfolio-caption h3 { font-size: 20px; line-height: 1.4; margin-bottom: 11px; }
.project-card-summary { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.project-card-more { color: var(--primary); font-size: 13px; font-weight: 650; margin-top: auto; }
.project-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 30px; }
.project-heading h2 { font-size: 33px; margin-bottom: 0; }
.project-heading p { font-size: 15px; color: var(--muted); margin-bottom: 0; max-width: 500px; }
.project-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 36px; padding: 28px; margin-bottom: 24px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.story-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.story-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-images figcaption { padding-top: 7px; font-size: 12px; }
.story-copy h3 { font-size: 27px; line-height: 1.35; margin-bottom: 13px; }
.story-copy p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.story-copy > a { font-size: 14px; font-weight: 650; color: var(--primary); }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 34px; }
.comparison figure { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.comparison img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.comparison figcaption { padding: 12px 17px; color: var(--ink); font-size: 13px; }
.project-body { max-width: 940px; }
.project-photo-section { background: var(--surface); }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.project-gallery figure { margin: 0; }
.gallery-photo { display: block; background: white; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.gallery-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.project-gallery figcaption { padding: 10px 2px 0; font-size: 13px; }
.back-projects { margin-top: 30px; font-size: 15px; color: var(--primary); }
.related-projects { margin: 40px 0; }
.related-projects .project-story { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 21px; }
.related-projects .story-copy h3 { font-size: 23px; }
.related-projects .story-copy p { font-size: 15px; }

.footer { background: #171717; padding: 50px 0 24px; color: #d1d1d1; text-align: left; font-size: 14px; }
.footer-grid { gap: 30px; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
.footer .logo { color: white; display: inline-flex; }
.footer .logo .brand-name, .footer .logo strong { color: white; }
.footer .logo .brand-service, .footer .logo small { color: #d1d1d1; }
.footer p { color: #d1d1d1; font-size: 13px; line-height: 1.75; margin-top: 18px; }
.footer h3 { font-size: 14px; font-weight: 650; color: #fff; margin: 4px 0 16px; letter-spacing: 0; }
.footer a { font-size: 13px; line-height: 1.65; padding: 5px 0; overflow-wrap: anywhere; color: #d1d1d1; text-decoration: none; }
.footer a:hover { color: white; text-decoration: underline; }
.footer .logo:hover { text-decoration: none; }
.footer-base { margin-top: 32px; padding-top: 22px; border-color: #ffffff26; font-size: 12px; line-height: 1.7; }
.mobile-call { display: none; }
[hidden] { display: none !important; }

@media (max-width: 1120px) {
  .nav { gap: 15px; }
  .logo svg { width: 36px; height: 36px; }
  .logo .brand-name, .logo strong { font-size: 20px; }
  .nav-links { gap: 15px; }
  .nav-links > a { font-size: 12px; }
  .nav-links > .nav-phone, .nav .button { font-size: 11px; padding: 9px 11px; }
  .header-language { padding-left: 11px; font-size: 11px; }
  .hero-layout { gap: 32px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-services { font-size: 19px; }
  .hero-photo img { height: 240px; }
  .content-layout, .layout, .contact-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
  .home-project-link { gap: 11px; padding: 12px; }
  .home-project-thumb { width: 72px; height: 98px; }
  .home-project-text h3 { font-size: 15px; }
  .project-card-photos img { height: 190px; }
  .portfolio-caption { padding: 20px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 94px; }
  .nav { min-height: 78px; flex-wrap: wrap; gap: 0; }
  .nav > .nav-phone { display: none; }
  .logo { margin-right: auto; }
  .header-language { order: 2; padding: 7px 0 7px 12px; font-size: 12px; }
  .menu-button { display: block; order: 3; margin-left: 15px; }
  .nav-links { order: 4; display: none; width: 100%; flex-basis: 100%; margin-left: 0; flex-direction: column; gap: 0; align-items: stretch; padding: 12px 0 19px; }
  .nav-links.open { display: flex; }
  .nav-links > a { font-size: 15px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
  .nav-links > a[aria-current=page] { box-shadow: none; font-weight: 700; }
  .nav-links > .nav-phone, .nav .button { font-size: 14px; padding: 12px 17px; margin: 13px 0 0; border-bottom: 0; display: inline-flex; justify-content: center; }
  .hero-layout { gap: 27px; }
  .hero-copy h1 { font-size: 39px; }
  body:lang(zh) .hero-copy h1 { font-size: 36px; }
  .hero-services { font-size: 17px; }
  .hero-description { font-size: 15px; }
  .hero-photo img { height: 286px; }
  .hero-actions { margin-top: 20px; gap: 9px; }
  .hero-actions .button { font-size: 12px; padding: 11px 14px; }
  .strip-item { padding: 16px; font-size: 12px; }
  .strip-item strong { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-project-links { grid-template-columns: 1fr; }
  .home-project-thumb { width: 100px; height: 86px; }
  .home-project-thumb img { height: 86px; }
  .home-project-text h3 { font-size: 17px; }
  .home-project-text p { font-size: 13px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { padding: 29px; gap: 30px; }
  .contact-panel h2 { font-size: 29px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px; }
  .content-layout, .layout, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .aside, .sidebar { position: static; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  body { padding-bottom: 85px; font-size: 16px; }
  .section, .page-section { padding: 44px 0; }
  .nav { min-height: 73px; }
  .logo { gap: 8px; }
  .logo svg { width: 35px; height: 35px; }
  .logo .brand-name, .logo strong { font-size: 20px; }
  .logo .brand-service, .logo small { font-size: 9px; letter-spacing: .03em; }
  .header-language { font-size: 11px; padding-left: 10px; }
  .menu-button { font-size: 12px; margin-left: 10px; padding: 9px 11px; }
  .business-home .masthead { padding: 32px 0 28px; }
  .hero-layout { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy h1, body:lang(zh) .hero-copy h1 { font-size: 36px; max-width: 520px; }
  .hero-copy h1 { line-height: 1.18; }
  body:lang(zh) .hero-copy h1 { line-height: 1.4; }
  .hero-services { font-size: 18px; }
  .hero-description { font-size: 15px; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { font-size: 13px; padding: 11px 15px; min-height: 46px; }
  .hero-photo img { height: 150px; }
  .hero-photo-caption { font-size: 11px; padding: 10px 13px; }
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-item, .strip-item:first-child, .strip-item:last-child { padding: 14px 9px; }
  .strip-item:first-child { padding-left: 0; }
  .strip-item + .strip-item { border-left: 1px solid #ffffff28; border-top: 0; }
  .strip-item > span { display: none; }
  .strip-item { font-size: 13px; }
  .strip-item strong { font-size: 14px; }
  .strip-item p { font-size: 12px; }
  .section-heading { gap: 15px; align-items: start; flex-direction: column; margin-bottom: 24px; }
  .page-section .section-heading { margin-bottom: 24px; }
  .section-heading h2, .project-heading h2 { font-size: 28px; }
  .section-heading p, .section-lead { font-size: 15px; }
  .section-heading > a { font-size: 13px; padding: 0; }
  .service-grid { gap: 15px; }
  .service-card { padding: 20px; min-height: 220px; }
  .service-card .service-title, .service-card h3 { font-size: 19px; }
  .service-desc, .service-card p { font-size: 14px; }
  .process-grid { grid-template-columns: 1fr; gap: 27px; }
  .process-step { padding-left: 57px; }
  .step-number { position: absolute; top: 1px; left: 0; }
  .process-step h3 { font-size: 20px; margin-bottom: 8px; }
  .process-step p { font-size: 14px; }
  .area-columns { grid-template-columns: 1fr; gap: 15px; }
  .area-columns > div { padding: 20px; }
  .area-columns h3 { font-size: 17px; margin-bottom: 9px; }
  .area-columns a { font-size: 14px; padding: 6px 0; }
  .business-home .guide-grid, .guide-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-card { padding: 22px; }
  .guide-card h3 { font-size: 20px; }
  .contact-panel { grid-template-columns: 1fr; padding: 26px; gap: 23px; border-radius: 8px; }
  .contact-panel h2 { font-size: 27px; }
  .contact-panel p { font-size: 14px; }
  .contact-panel-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .contact-panel .button { font-size: 13px; padding: 11px 16px; }
  .faq details { padding: 18px 0; }
  .faq summary { font-size: 16px; }
  .faq details p { font-size: 15px; }
  .breadcrumb { padding: 14px 0; font-size: 11px; }
  .page-hero { padding: 28px 0 31px; }
  .page-hero h1, body:lang(zh) .page-hero h1 { font-size: 33px; }
  .page-hero .lead { font-size: 16px; }
  .prose h2 { font-size: 25px; margin-top: 32px; }
  .prose p, .prose li { font-size: 16px; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .area-link { font-size: 14px; }
  .notice { padding: 20px; }
  .notice p { font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field { grid-column: 1; }
  .draft-actions .button { width: 100%; }
  .cta { display: block; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; }
  .cta .button { margin-top: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-card-photos img { height: 220px; }
  .portfolio-caption h3 { font-size: 21px; }
  .project-heading { flex-direction: column; align-items: start; gap: 15px; margin-bottom: 25px; }
  .project-heading p { font-size: 14px; }
  .project-story { grid-template-columns: 1fr; gap: 21px; padding: 20px; }
  .story-copy h3 { font-size: 24px; }
  .comparison { gap: 14px; padding-top: 28px; }
  .comparison img { aspect-ratio: 3 / 4; }
  .comparison figcaption { padding: 10px 12px; font-size: 12px; }
  .project-gallery { grid-template-columns: 1fr; gap: 26px; }
  .gallery-photo img { aspect-ratio: auto; max-height: 650px; object-fit: contain; }
  .project-gallery figcaption { font-size: 12px; }
  .footer { padding-top: 42px; }
  .footer-grid { gap: 29px 22px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-base { display: block; font-size: 11px; margin-top: 28px; }
  .footer-base > span { display: block; margin-bottom: 10px; }
  .mobile-call { display: flex; position: fixed; left: 18px; right: 18px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 5px 18px #17171740; min-height: 50px; font-size: 14px; }
}
@media (max-width: 450px) {
  .logo .brand-name, .logo strong { font-size: 18px; }
  .logo svg { width: 31px; height: 31px; }
  .logo .brand-service, .logo small { font-size: 8px; }
  .header-language { font-size: 10px; padding-left: 9px; }
  .menu-button { padding: 9px 10px; margin-left: 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 22px; }
  .service-icon { margin-bottom: 14px; }
  .hero-actions .button { flex: 1; padding: 11px 12px; }
  .home-project-thumb { width: 84px; height: 98px; }
  .home-project-thumb img { height: 98px; }
  .home-project-text h3 { font-size: 16px; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-panel-actions { flex-direction: column; }
  .contact-panel-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  .button, .nav-phone, .menu-button, .service-card, .portfolio-item, .contact-panel, .home-project-link { border: 1px solid CanvasText; }
  :focus-visible { outline-color: Highlight; }
}
@media print {
  body { background: white; color: black; padding-bottom: 0; }
  .header, .footer, .mobile-call, .hero-actions, .business-strip, .aside, .sidebar, .home-contact, .cta, .draft-actions { display: none !important; }
  .container { width: 100%; }
  .section, .page-section { padding: 20px 0; }
  .hero-layout, .content-layout, .layout, .contact-grid, .project-story { display: block; }
  .business-home .masthead, .page-hero, .soft, .dark, .home-process { background: white; color: black; }
  h1, .hero-copy h1, body:lang(zh) .hero-copy h1 { font-size: 36px; }
  .hero-photo { display: none; }
  .service-card, .portfolio-item, figure, .comparison { break-inside: avoid; box-shadow: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a { color: black; }
}

/* Ellis signature: local typefaces, a monochrome roof-line hero and company proof. */
@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('/assets/fonts/barlow-heading.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-body.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --accent: #c9c9c9;
  --hero: #171717;
  --bs-body-font-family: 'Manrope', 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif;
  font-family: 'Manrope', 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif;
}
body { font-family: 'Manrope', 'Segoe UI', Arial, 'Microsoft JhengHei', sans-serif; }
body:lang(zh) { font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans TC', 'PingFang TC', 'Manrope', Arial, sans-serif; }
h1, h2, h3, h4 { font-family: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif; letter-spacing: -.01em; }
body:lang(zh) h1, body:lang(zh) h2, body:lang(zh) h3, body:lang(zh) h4 { font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans TC', 'PingFang TC', sans-serif; }
.logo .brand-name, .logo strong { font-family: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif; font-size: 25px; line-height: 1.1; letter-spacing: -.015em; font-weight: 700; }
.business-home .masthead { padding: 43px 0; background: var(--hero); color: white; }
.hero-copy h1 { font-size: clamp(40px, 4.5vw, 54px); line-height: 1.08; color: white; }
body:lang(zh) .hero-copy h1 { font-size: clamp(36px, 3.8vw, 44px); line-height: 1.35; }
.hero-copy .eyebrow { color: var(--accent); letter-spacing: .11em; }
.hero-services { color: #dedede; }
.hero-description { color: #d8d8d8; }
.hero-actions .button { color: var(--hero); background: white; border-color: white; }
.hero-actions .button:hover { color: var(--hero); background: #eeeeee; border-color: #eeeeee; }
.hero-actions .button.secondary { color: white; background: transparent; border-color: #999999; }
.hero-actions .button.secondary:hover { color: white; background: #ffffff0f; border-color: white; }
.hero-photo { border-radius: 0; background: #242424; box-shadow: none; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { height: 310px; object-position: center 20%; }
.hero-photo-caption { padding: 11px 16px 11px 25px; background: #242424; color: #d8d8d8; text-align: right; }
.business-strip { background: #f3f3f3; color: var(--ink); border-bottom: 1px solid #dedede; }
.strip-item + .strip-item { border-left-color: #dedede; }
.strip-item strong, .strip-item b { color: var(--ink); font-weight: 650; }
.strip-item > span, .strip-item p { color: var(--muted); }
.strip-item svg { color: var(--primary); }
.service-card { transition: transform .18s, border-color .18s, box-shadow .18s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #17171710; }
.prose h2 { font-family: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif; font-size: 29px; font-weight: 700; letter-spacing: -.01em; }
body:lang(zh) .prose h2 { font-family: inherit; }

.trust-section { background: var(--surface); padding: 62px 0; }
.trust-heading { margin-bottom: 26px; }
.trust-heading h2 { font-size: 34px; margin-bottom: 12px; }
.trust-heading p { max-width: 780px; color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 0; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.review-card { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 27px 28px; background: white; box-shadow: 0 4px 16px #17171704; }
.review-card::before { content: '“'; display: block; font-family: Georgia, serif; font-size: 47px; line-height: .8; color: #888888; margin-bottom: 11px; }
.review-quote { color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.7; margin: 0 0 18px; max-width: none; }
.review-author { color: var(--primary); font-size: 14px; font-weight: 700; margin: 0 0 7px; }
.review-context { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0 0 10px; }
.review-source { color: var(--primary); font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.review-card .review-source { display: inline-block; }
.location-section { background: white; padding: 62px 0; }
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 45px; align-items: center; }
.location-copy h2 { font-size: 34px; margin-bottom: 18px; }
.location-copy > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.location-details { display: grid; gap: 12px; margin: 20px 0; }
.location-details p { font-size: 15px; line-height: 1.7; margin: 0; }
.location-details strong { color: var(--ink); display: block; font-weight: 650; }
.location-details a { color: var(--primary); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.location-details a:hover { text-decoration: underline; }
.location-details .small { color: var(--muted); font-size: 12px; }
.map-link, .map-open-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 13px; font-weight: 650; text-decoration: none; }
.map-link:hover, .map-open-link:hover { text-decoration: underline; }
.location-map { min-height: 320px; border: 1px solid #dedede; border-radius: 8px; background: #f2f2f2; position: relative; overflow: hidden; }
.location-map iframe { display: block; width: 100%; height: 320px; min-height: 320px; border: 0; }
.map-load-state { min-height: 320px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; background-color: #f2f2f2; background-image: linear-gradient(112deg, transparent 0 43%, #fff8 43% 46%, transparent 46%), linear-gradient(25deg, transparent 0 52%, #fff9 52% 55%, transparent 55%), linear-gradient(#dedede6b 1px, transparent 1px), linear-gradient(90deg, #dedede6b 1px, transparent 1px); background-size: auto, auto, 53px 53px, 53px 53px; }
.map-load-state h3 { margin: 0; color: var(--ink); font-size: 23px; }
.map-load-state p { font-size: 13px; color: var(--muted); max-width: 340px; margin: 0; line-height: 1.7; }
.map-load-state svg { width: 35px; height: 35px; color: var(--primary); }
.map-load-button { min-height: 44px; font-size: 13px; }
.map-open-link { font-size: 12px; padding: 5px; }
.about-trust { margin-top: 40px; }
.about-trust .trust-section, .about-trust .location-section { padding: 40px 0; }
.about-trust .container { width: 100%; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: ellis-fade-out .18s ease both; }
::view-transition-new(root) { animation: ellis-fade-in .18s ease both; }
@keyframes ellis-fade-out { to { opacity: 0; } }
@keyframes ellis-fade-in { from { opacity: 0; } }

@media (max-width: 1120px) {
  .logo .brand-name, .logo strong { font-size: 23px; }
  .hero-copy h1 { font-size: 46px; }
}
@media (max-width: 900px) {
  .hero-copy h1 { font-size: 40px; }
  body:lang(zh) .hero-copy h1 { font-size: 36px; }
  .location-grid { gap: 30px; }
}
@media (max-width: 680px) {
  .business-home .masthead { padding: 32px 0 28px; }
  .logo .brand-name, .logo strong { font-size: 22px; }
  .hero-copy h1, body:lang(zh) .hero-copy h1 { font-size: 36px; }
  .hero-copy h1 { line-height: 1.14; }
  body:lang(zh) .hero-copy h1 { line-height: 1.4; }
  .hero-photo { clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-photo img { height: 238px; object-position: center 25%; }
  .trust-section, .location-section { padding: 44px 0; }
  .trust-heading h2, .location-copy h2 { font-size: 29px; }
  .trust-heading p { font-size: 14px; }
  .review-grid { grid-template-columns: 1fr; gap: 17px; }
  .review-card { padding: 24px; }
  .review-quote { font-size: 16px; }
  .review-context { font-size: 12px; }
  .location-grid { grid-template-columns: 1fr; gap: 27px; }
  .location-map, .map-load-state { min-height: 285px; }
  .location-map iframe { min-height: 285px; height: 285px; }
  .about-trust .trust-section, .about-trust .location-section { padding: 30px 0; }
  .prose h2 { font-size: 26px; }
}
@media (max-width: 450px) {
  .logo .brand-name, .logo strong { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
@media print {
  .location-grid { display: block; }
  .location-map { display: none; }
  .business-home .masthead { background: white; color: black; }
  .hero-copy h1, .hero-services, .hero-description { color: black; }
  .review-card { break-inside: avoid; }
}

.review-author, .review-context { display: block; }
.review-translation { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 18px; }
.map-caption { margin: 0; padding: 11px 15px; color: var(--muted); background: white; font-size: 12px; line-height: 1.65; }
.map-caption a { color: var(--primary); }

/* Neutralise any colour inherited from the original shared stylesheet. */
:root { --primary:#222222; --ink:#171717; --muted:#5a5a5a; --line:#dedede; --surface:#f5f5f5; --secondary:#eeeeee; --accent:#c9c9c9; --hero:#171717; --bs-primary:#222222; --bs-primary-rgb:34,34,34; --bs-link-color:#222222; --bs-link-hover-color:#444444; }
.dark .eyebrow, .dark .lead, .dark p { color:#dddddd; }
.service-card .card-icon, .area-link:hover, .hero h1 span { color:var(--primary); }
.hero { background:linear-gradient(120deg,#f5f5f5 0%,#fff 80%); }
.image-label { box-shadow:0 8px 24px #17171718; }
.process-number { color:#cccccc; }
.process-step { border-color:#bbbbbb; }
.field [aria-invalid=true] { border-color:#333333; border-width:2px; }
.field .error { color:#333333; font-weight:600; }
.footer-base { border-color:#ffffff26; }

/* Architectural service image and photographic service entrances. */
.hero-photo { clip-path: none; border: 1px solid #ffffff24; }
.hero-photo img { height: auto; aspect-ratio: 4 / 3; object-position: center; }
.hero-photo-caption { padding: 10px 15px; font-size: 11px; }
.home-services .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.additional-services { margin-top: 20px; }
.business-home .service-card-with-photo { overflow: hidden; }
.service-photo { grid-column: 1 / -1; position: relative; height: 172px; margin: -24px -24px 6px; background: #eeeeee; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; border-radius: 0; }
.service-photo span { position: absolute; bottom: 10px; left: 14px; padding: 4px 8px; background: #171717; color: white; font-size: 11px; line-height: 1.5; }
.service-card-with-photo[href*="eaves"] .service-photo img { object-position: center 30%; }
.home-project-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-lead { padding: 0; }
.detail-comparison img { height: 470px; aspect-ratio: auto; object-fit: contain; background: #f5f5f5; }
.project-gallery-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-gallery-details img { aspect-ratio: 3 / 4; object-fit: contain; background: #f5f5f5; }
.home-weather { background: #f3f3f3; padding: 46px 0; border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; }
.weather-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-weather h2 { font-size: 30px; line-height: 1.45; margin: 0 0 15px; }
.home-weather p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 760px; margin-bottom: 12px; }
.weather-source { color: var(--muted); font-size: 12px; text-underline-offset: 3px; }
.weather-links a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid #cccccc; color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.weather-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .home-services .service-grid, .home-project-links, .project-grid, .project-gallery-details { grid-template-columns: 1fr; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 3; object-position: center; }
  .service-photo { height: 190px; margin: -20px -20px 6px; }
  .detail-comparison img { height: auto; aspect-ratio: auto; }
  .weather-layout { grid-template-columns: 1fr; gap: 18px; }
  .home-weather { padding: 35px 0; }
  .home-weather h2 { font-size: 27px; }
}
@media (max-width: 450px) {
  .service-photo { margin: -22px -22px 6px; }
}

/* Service-specific explanation and evidence, within the established Ellis palette. */
.service-masthead { background: var(--hero); color: var(--white, #ffffff); padding: 44px 0; }
.service-hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 54px; align-items: center; }
.service-hero-copy .eyebrow { color: var(--accent); }
.service-hero-copy h1 { color: #ffffff; font-size: clamp(35px, 3.7vw, 48px); line-height: 1.14; margin: 0 0 20px; }
body:lang(zh) .service-hero-copy h1 { font-size: clamp(32px, 3.3vw, 41px); line-height: 1.4; }
.service-hero-summary { font-size: 21px; line-height: 1.65; color: #eeeeee; margin: 0 0 15px; }
.service-property-context { color: #d8d8d8; font-size: 15px; line-height: 1.8; max-width: 540px; }
.service-hero-photo, .about-work-photo { margin: 0; border: 1px solid var(--line); overflow: hidden; }
.service-hero-photo { border-color: #ffffff24; }
.service-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
.service-hero-photo figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 12px 15px; background: #242424; color: #eeeeee; font-size: 12px; line-height: 1.6; }
.service-hero-photo figcaption a { color: #ffffff; text-decoration: none; }
.service-hero-photo figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-introduction { max-width: 900px; margin-bottom: 32px; }
.service-introduction h2, .about-overview h2 { font-size: 32px; margin: 0 0 16px; }
.service-introduction > p:last-child, .about-overview-layout > div > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.9; }
.service-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-check-panel { padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.service-inspection-panel { background: #ffffff; border-top: 4px solid var(--primary); padding-top: 25px; }
.service-check-panel h2 { font-size: 25px; margin: 0 0 16px; }
.service-check-panel ul { margin: 0; padding-left: 21px; }
.service-check-panel li { color: var(--ink); font-size: 15px; line-height: 1.85; padding: 0 0 10px 4px; }
.service-check-panel li:last-child { padding-bottom: 0; }
.service-detail-section .prose > h2:first-child { margin-top: 0; }
.home-problem-guide { background: #ffffff; }
.problem-guide-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0; border: 1px solid var(--line); }
.problem-guide-intro { background: var(--hero); color: #ffffff; padding: 38px; }
.problem-guide-intro .eyebrow { color: var(--accent); }
.problem-guide-intro h2 { color: #ffffff; font-size: 32px; line-height: 1.4; margin-bottom: 20px; }
.problem-guide-intro > p:last-child { color: #dddddd; font-size: 16px; line-height: 1.9; margin: 0; }
.problem-guide-rows { padding: 5px 34px; }
.problem-guide-row { padding: 25px 0; }
.problem-guide-row + .problem-guide-row { border-top: 1px solid var(--line); }
.problem-guide-row h3 { font-size: 23px; line-height: 1.5; margin: 0 0 10px; }
.problem-guide-row p { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0 0 12px; }
.problem-guide-row a { color: var(--ink); font-size: 14px; font-weight: 650; display: inline-flex; gap: 18px; align-items: center; min-height: 44px; text-decoration: none; }
.problem-guide-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-overview-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; align-items: center; }
.company-identity-panel { display: grid; gap: 8px; border-left: 3px solid var(--primary); padding: 8px 0 8px 18px; margin: 22px 0; font-size: 14px; overflow-wrap: anywhere; }
.company-identity-panel span { color: var(--muted); }
.company-service-links { display: flex; flex-wrap: wrap; gap: 12px; }
.company-service-links a { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 650; text-decoration: none; border-radius: 4px; }
.company-service-links a:hover { background: var(--surface); border-color: var(--muted); }
.about-work-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-work-photo figcaption { padding: 12px 16px; background: var(--surface); font-size: 12px; }
.about-work-photo a { color: var(--ink); text-decoration: none; }
.about-work-photo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.trust-heading > a { min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; }
@media (max-width: 900px) {
  .service-hero-layout, .about-overview-layout { gap: 30px; }
  .problem-guide-intro { padding: 28px; }
  .problem-guide-rows { padding: 0 25px; }
}
@media (max-width: 680px) {
  .service-masthead { padding: 30px 0; }
  .service-hero-layout, .service-check-grid, .problem-guide-layout, .about-overview-layout { grid-template-columns: 1fr; gap: 24px; }
  .service-hero-copy h1, body:lang(zh) .service-hero-copy h1 { font-size: 32px; }
  .service-hero-summary { font-size: 18px; }
  .service-hero-photo img { aspect-ratio: 4 / 3; }
  .service-check-panel { padding: 23px; }
  .service-inspection-panel { padding-top: 20px; }
  .service-introduction h2, .about-overview h2 { font-size: 27px; }
  .service-check-panel h2 { font-size: 23px; }
  .problem-guide-layout { gap: 0; }
  .problem-guide-intro { padding: 27px; }
  .problem-guide-intro h2 { font-size: 27px; margin-bottom: 15px; }
  .problem-guide-rows { padding: 0 24px; }
  .problem-guide-row h3 { font-size: 21px; }
  .about-work-photo { order: 1; }
}
@media print {
  .service-masthead, .problem-guide-intro { background: #ffffff; color: #171717; }
  .service-hero-copy h1, .service-hero-summary, .service-property-context, .problem-guide-intro h2, .problem-guide-intro > p:last-child { color: #171717; }
  .service-hero-layout, .about-overview-layout, .problem-guide-layout { display: block; }
  .service-hero-copy .hero-actions { display: none; }
  .service-check-panel, .review-card { break-inside: avoid; }
}

/* Review provenance is a label, not an outbound navigation control. */
span.review-source { color: var(--muted); text-decoration: none; }
