/* Lithos Arch Model — public site */
:root {
  --bg: #F5F5F3;
  --paper: #FFFFFF;
  --ink: #111111;
  --ink-2: #3A3A3A;
  --muted: #6E6E6B;
  --line: #E4E4E0;
  --dark: #0E0E0E;
  --orange: #F2622E;
  --orange-2: #DE5320;
  --peach: #FDEBDD;
  --blue: #2F6BFF;   --blue-bg: #E7EEFF;
  --yellow: #E8B400; --yellow-bg: #FBEFB0;
  --lime: #D9F7A6;
  --green-bg: #DDF4C9;
  --ph: #E8E6E1;
  --radius: 14px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 84px;
  --sans: "Inter Tight", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Inter Tight", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lang-zh { font-family: var(--zh); letter-spacing: .02em; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-top { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.section-tight { padding: 0 0 clamp(72px, 9vw, 120px); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 16px; white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; border-radius: 8px; }
.btn-dark:hover { background: #333; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-2); }
.btn-outline { border-color: #8f8f8a; color: var(--ink-2); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #c9f084; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0ee; }
.btn-block { width: 100%; }
.btn .i { width: 1em; height: 1em; }
.circle-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; border: 0; cursor: pointer; flex: none; transition: transform .2s, background .2s; }
.circle-btn:hover { transform: rotate(45deg); }
.circle-btn.light { background: #fff; color: var(--ink); width: 48px; height: 48px; }
.circle-btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); width: 48px; height: 48px; }
.circle-btn.light:hover, .circle-btn.ghost:hover { transform: none; background: rgba(255,255,255,.85); color: var(--ink); }
.circle-btn .i { width: 22px; height: 22px; }

/* ---------- display headings with "selected text" highlight ---------- */
.display { font-weight: 400; line-height: .98; letter-spacing: -.035em; font-size: clamp(44px, 6.6vw, 96px); }
.lang-zh .display { letter-spacing: .01em; line-height: 1.12; font-weight: 500; }
.display-xl { font-size: clamp(60px, 9.4vw, 160px); }
.display-md { font-size: clamp(36px, 5vw, 76px); }
.bilingual-heading { display: flex; flex-direction: column; align-items: flex-start; gap: .08em; line-height: 1.12; letter-spacing: 0; }
.bilingual-heading > span { white-space: nowrap; }
.bilingual-heading .heading-zh { font-family: var(--zh); font-weight: 500; line-height: 1.12; letter-spacing: .01em; }
.bilingual-heading .heading-en { font-family: var(--sans); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.page-home .hero-title .heading-zh { font-size: clamp(var(--home-hero-zh-heading-mobile), 9.4vw, var(--home-hero-zh-heading-desktop)); }
.page-home .hero-title .heading-en { font-size: clamp(var(--home-hero-en-heading-mobile), 4vw, var(--home-hero-en-heading-desktop)); }
.page-home .intro-head .heading-zh { font-size: clamp(var(--home-intro-zh-heading-mobile), 6.6vw, var(--home-intro-zh-heading-desktop)); }
.page-home .intro-head .heading-en { font-size: clamp(var(--home-intro-en-heading-mobile), 3.2vw, var(--home-intro-en-heading-desktop)); }
.page-home .svc-head .heading-zh { font-size: clamp(var(--home-services-zh-heading-mobile), 6.6vw, var(--home-services-zh-heading-desktop)); }
.page-home .svc-head .heading-en { font-size: clamp(var(--home-services-en-heading-mobile), 3.2vw, var(--home-services-en-heading-desktop)); }
.page-home .featured-head .heading-zh { font-size: clamp(var(--home-featured-zh-heading-mobile), 6.6vw, var(--home-featured-zh-heading-desktop)); }
.page-home .featured-head .heading-en { font-size: clamp(var(--home-featured-en-heading-mobile), 3.2vw, var(--home-featured-en-heading-desktop)); }
.display > span { display: block; }
.display-l2 { display: flex !important; align-items: flex-end; gap: .08em; }
.dash { display: inline-block; width: .32em; height: .06em; min-height: 3px; background: currentColor; margin-bottom: .12em; flex: none; }
.display-xl .dash { display: none; }
.hl { --hl-line: var(--orange); --hl-bg: var(--peach); position: relative; background: var(--hl-bg); padding: 0 .06em .02em; border-left: 2px solid var(--hl-line); border-right: 2px solid var(--hl-line); color: var(--ink); }
.hl::before, .hl::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--hl-line); }
.hl::before { left: -6px; top: -6px; }
.hl::after { right: -6px; bottom: -6px; }
.hl-blue { --hl-line: var(--blue); --hl-bg: var(--blue-bg); }
.hl-yellow { --hl-line: var(--yellow); --hl-bg: var(--yellow-bg); }
.hl-peach { --hl-line: var(--orange); --hl-bg: var(--peach); }
.on-dark { color: #fff; }

/* ---------- header ---------- */
/* blur lives on ::before — backdrop-filter on .header itself would trap the fixed mobile menu inside it */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.logo { display: flex; align-items: center; gap: 12px; flex: none; min-height: 44px; }
.logo img { max-height: 48px; width: auto; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: #fff; font: 500 15px/1 var(--zh); letter-spacing: .05em; flex: none; }
.logo-mark.sm { width: 40px; height: 40px; font-size: 13px; border-radius: 8px; }
.logo-mark.light { background: #fff; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--sans); letter-spacing: -.01em; }
.logo-text strong { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.logo-text small { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.header-div { width: 1.5px; height: 24px; background: var(--ink); margin-left: clamp(0px, 4vw, 72px); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: 16px; }
.nav > a { color: var(--ink-2); padding: 8px 0; position: relative; }
.nav > a:hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a[aria-current] { font-weight: 500; }
.nav > a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); }
.nav-quote-mobile, .nav-mobile-foot { display: none !important; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.header-tel { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.lang { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.lang:hover { border-color: var(--ink); }
.header-cta { height: 46px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- media & placeholders ---------- */
.ph { position: relative; background: var(--ph); color: #b6b1a7; aspect-ratio: 4 / 3; overflow: hidden; }
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-label { position: absolute; left: 12px; bottom: 10px; font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #8d887e; }
.fill { position: relative; overflow: hidden; }
.fill picture, .fill img, .fill .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h)), 960px); display: flex; overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.hero-media picture, .hero-media img, .hero-media .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.hero-inner { position: relative; display: flex; justify-content: space-between; align-items: stretch; gap: 32px; padding-top: clamp(48px, 9vh, 120px); padding-bottom: clamp(40px, 7vh, 96px); }
.hero-text { max-width: 640px; }
.hero-sub { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 400px; }
.lang-zh .hero-sub { max-width: 23em; line-height: 1.75; }
.page-home.lang-zh .hero-sub { font-size: var(--home-hero-zh-body); }
.page-home.lang-en .hero-sub { font-size: var(--home-hero-en-body); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(28px, 3vw, 44px); }
.hero-float { align-self: flex-end; width: min(400px, 100%); display: flex; flex-direction: column; gap: 14px; }
.hero-pill { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: rgba(240,240,238,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 16px; }
.dot-y { width: 14px; height: 14px; border-radius: 50%; background: #F8BE2F; flex: none; }
.hero-card { background: var(--paper); border-radius: 18px; padding: 26px 28px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.hero-card-top { display: flex; align-items: center; gap: 10px; }
.hero-card-brand { display: flex; flex-direction: column; line-height: 1.1; }
.hero-card-brand strong { font-size: 20px; font-weight: 500; letter-spacing: -.02em; font-family: var(--sans); }
.hero-card-brand small { font-size: 11px; color: var(--muted); }
.chip { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #F4F4F2; font-size: 12px; white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.kicker { margin-top: 26px; font-size: 13px; color: var(--muted); }
.hero-card h2 { margin-top: 10px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.hero-card .muted { margin-top: 14px; font-size: 15px; line-height: 1.55; }
.hero-card .btn { margin-top: 24px; border-radius: 8px; min-width: 150px; }

/* ---------- intro ---------- */
.intro { background: var(--paper); }
.intro-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.intro-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 80px); align-items: end; }
.intro-pics { grid-column: 3 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intro-pic { aspect-ratio: 4 / 3; border-radius: 4px; }
.intro-pic, .svc-card a, .pcard-img, .about-pic, .svc-pic, .svc-bg, .contact-bg { position: relative; overflow: hidden; }
.intro-pic picture, .intro-pic img, .intro-pic .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.intro-text { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-bottom: 4px; }
.intro-text h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.intro-text .muted { font-size: 15px; max-width: 34ch; }
.page-home.lang-zh .intro-text .muted { font-size: var(--home-intro-zh-body); }
.page-home.lang-en .intro-text .muted { font-size: var(--home-intro-en-body); }
.intro-text .btn { margin-top: 8px; }

/* ---------- services band ---------- */
.svc-band { position: relative; color: #fff; padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.svc-bg { position: absolute; inset: 0; }
.svc-bg picture, .svc-bg img, .svc-bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.svc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.72)); }
.svc-inner { position: relative; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.carousel-nav { display: flex; gap: 12px; margin-top: 8px; }
.svc-row { display: flex; align-items: flex-end; gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.svc-all { flex: none; margin-bottom: 8px; }
.svc-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; padding: 4px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
.svc-track::-webkit-scrollbar { display: none; }
.svc-card { flex: 0 0 clamp(240px, 24vw, 320px); scroll-snap-align: start; }
.svc-card a { display: block; aspect-ratio: 4 / 5; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); }
.svc-card picture, .svc-card img, .svc-card .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .6s; }
.svc-card a:hover img { transform: scale(1.04); }
.svc-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.svc-card-text { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.svc-card-text strong { font-size: 19px; font-weight: 500; }
.svc-card-text small { font-size: 13px; opacity: .8; line-height: 1.45; }
.page-home.lang-zh .svc-card-text small { font-size: var(--home-services-zh-body); }
.page-home.lang-en .svc-card-text small { font-size: var(--home-services-en-body); }

/* ---------- featured projects ---------- */
.featured-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.featured-side { max-width: 340px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.featured-side .muted { font-size: 15px; }
.page-home.lang-zh .featured-side .muted { font-size: var(--home-featured-zh-body); }
.page-home.lang-en .featured-side .muted { font-size: var(--home-featured-en-body); }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px) clamp(16px, 2vw, 28px); margin-top: clamp(40px, 6vw, 72px); }
.featured-grid .pcard:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 72px); }
.pcard { display: block; }
.pcard-img { aspect-ratio: 4 / 3; border-radius: 4px; background: var(--ph); }
.pcard-img picture, .pcard-img img, .pcard-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .6s; }
.pcard:hover .pcard-img img { transform: scale(1.035); }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-meta .i { width: 14px; height: 14px; }
.pcard-count { margin-left: auto; }
.pcard h3 { margin-top: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.pcard-alt { margin-top: 2px; font-size: 14px; color: var(--muted); }
.draft-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--orange); color: #fff; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
/* projects index: natural image ratios, row by row so the admin's order is kept */
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 28px); align-items: start; }
.pcard-natural .pcard-img { aspect-ratio: auto; }
.pcard-natural .pcard-img picture, .pcard-natural .pcard-img img { position: static; height: auto; }
.pcard-natural .pcard-img .ph { position: relative; aspect-ratio: 4 / 3; }

/* ---------- process ---------- */
.process { background: var(--paper); }
.statement { font-size: clamp(24px, 3.1vw, 46px); line-height: 1.32; letter-spacing: -.02em; max-width: 26em; }
.lang-zh .statement { letter-spacing: .02em; line-height: 1.6; font-size: clamp(22px, 2.6vw, 38px); }
.statement mark { background: var(--green-bg); color: inherit; padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.process-cta { display: flex; justify-content: flex-end; margin-top: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.step { background: var(--bg); border-radius: 6px; padding: 28px 26px 34px; display: flex; flex-direction: column; }
.step-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.step-icon .i { width: 20px; height: 20px; }
.step-num { margin-top: clamp(48px, 6vw, 88px); font-size: 13px; color: var(--muted); font-family: var(--sans); }
.step h3 { margin-top: 6px; font-size: 19px; font-weight: 500; }
.step p { margin-top: 8px; font-size: 15px; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- contact band / glass form ---------- */
.contact-band, .quote-band { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; color: #fff; }
.contact-bg { position: absolute; inset: 0; }
.contact-bg picture, .contact-bg img, .contact-bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: rgba(14,14,14,.45); }
.contact-band .container, .quote-band .container { position: relative; }
.glass { max-width: 560px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.glass > h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; letter-spacing: -.02em; text-align: center; }
.glass > p { text-align: center; margin: 10px auto 0; max-width: 40ch; opacity: .9; font-size: 15px; }
.glass-more { margin-top: 18px !important; font-size: 14px !important; }
.glass-more a { text-decoration: underline; text-underline-offset: 3px; }
.qform { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qform label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.qform label > span { opacity: .9; }
.qform input, .qform select, .qform textarea { width: 100%; border: 1px solid transparent; background: #fff; color: var(--ink); border-radius: 8px; padding: 12px 14px; font-size: 15px; min-height: 46px; }
.qform textarea { resize: vertical; min-height: 110px; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; }
.qform .btn { margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.qstatus { font-size: 14px; text-align: center; min-height: 1.4em; }
.qstatus.ok { color: var(--lime); }
.qstatus.err { color: #FFD2C2; }

/* ---------- inner pages ---------- */
.page-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-lede { max-width: 380px; font-size: 16px; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-pic { aspect-ratio: 4 / 5; border-radius: 6px; }
.about-pic picture, .about-pic img, .about-pic .ph, .svc-pic picture, .svc-pic img, .svc-pic .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.prose { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.75; color: var(--ink-2); display: flex; flex-direction: column; gap: 1.1em; max-width: 40em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.facts dd { line-height: 1.7; }
.facts a:hover { color: var(--orange); }
.svc-list { border-top: 1px solid var(--line); }
.svc-item { display: grid; grid-template-columns: 120px 1fr minmax(220px, 34%); gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-num { font-size: 14px; color: var(--muted); padding-top: 10px; font-family: var(--sans); }
.svc-body h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.svc-body .muted { margin-top: 14px; font-size: 16px; max-width: 42ch; }
.svc-pic { aspect-ratio: 4 / 3; border-radius: 4px; }
.quote-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote-intro > p { margin-top: 28px; font-size: 17px; max-width: 38ch; opacity: .92; }
.direct { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.direct h2 { font-size: 13px; font-weight: 500; opacity: .75; }
.direct a, .direct span { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.direct a:hover { color: var(--lime); }
.glass-wide { max-width: none; margin: 0; }
.glass-wide .qform { margin-top: 0; }

/* project detail */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.back:hover { color: var(--ink); }
.draft-note { display: inline-block; margin-left: 16px; background: var(--peach); color: var(--orange-2); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.project-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 28px; }
.project-alt { margin-top: 12px; font-size: 18px; color: var(--muted); }
.project-meta { display: flex; gap: 40px; }
.project-meta dt { font-size: 13px; color: var(--muted); }
.project-meta dd { font-size: 20px; margin-top: 4px; }
.project-desc { margin-top: 32px; max-width: 44em; font-size: 17px; line-height: 1.75; color: var(--ink-2); display: flex; flex-direction: column; gap: 1em; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.gallery-item { grid-column: span 1; background: var(--ph); border-radius: 4px; overflow: hidden; }
.gallery-item.wide { grid-column: 1 / -1; }
.gallery-item picture { aspect-ratio: var(--ar); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption { background: var(--bg); padding: 10px 2px 0; font-size: 14px; color: var(--muted); }
.project-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.pn { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.pn small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.pn strong { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; }
.pn.next { margin-left: auto; text-align: right; align-items: flex-end; }
.pn:hover strong { color: var(--orange); }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); background: var(--paper); border-radius: var(--radius); }
.cta-strip p { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #fff; padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.foot-brand strong { font-size: 22px; font-weight: 500; font-family: var(--sans); letter-spacing: -.02em; }
.foot-brand small { font-size: 13px; opacity: .6; }
.foot-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 96px); }
.foot-statement { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.02em; }
.lang-zh .foot-statement { letter-spacing: .02em; line-height: 1.4; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.foot-grid h2 { font-size: 13px; font-weight: 500; opacity: .55; margin-bottom: 16px; letter-spacing: .04em; }
.foot-grid ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-grid ul a, .foot-bottom a { opacity: .85; }
.foot-grid ul a:hover, .foot-bottom a:hover { opacity: 1; color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.socials a:hover { background: #fff; color: var(--ink); }
.socials .i { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-tel { display: none; }
  .header-div { margin-left: 0; }
  .intro-pics { grid-column: 1 / span 7; }
  .intro-text { grid-column: 8 / span 5; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header-div { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    font-size: 28px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav > a { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav > a[aria-current]::after { display: none; }
  .nav > a[aria-current] { color: var(--orange); }
  .nav-quote-mobile { display: block !important; }
  .nav-mobile-foot { display: flex !important; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 32px; font-size: 16px; }
  .nav-mobile-foot a { display: inline-flex; align-items: center; gap: 10px; }
  .menu-open { overflow: hidden; }

  .hero { flex-direction: column; min-height: 0; }
  .hero-media { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; order: 2; -webkit-mask-image: none; mask-image: none; }
  .hero-inner { display: contents; }
  .hero-text { padding: 40px var(--gutter) 40px; max-width: none; order: 1; }
  .hero-float { order: 3; align-self: auto; width: auto; margin: -72px var(--gutter) 0; position: relative; padding-bottom: 8px; }

  .intro-body { grid-template-columns: 1fr; }
  .intro-pics, .intro-text { grid-column: 1 / -1; }
  .svc-row { flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .svc-all { align-self: flex-start; }
  .featured-head, .page-head-grid, .project-head-grid { flex-direction: column; align-items: flex-start; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .pcard:nth-child(3n+2) { margin-top: 0; }
  .featured-grid .pcard:nth-child(even) { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step-num { margin-top: 28px; }
  .about-grid, .quote-grid { grid-template-columns: 1fr; }
  .about-pic { aspect-ratio: 16 / 10; }
  .svc-item { grid-template-columns: 56px 1fr; }
  .svc-pic { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-follow { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .header-cta { display: none; }
  .btn { height: 48px; padding: 0 22px; font-size: 15px; }
  .btn-sm { height: 40px; }
  .hero-ctas .btn { flex: 1; }
  .circle-btn { width: 48px; height: 48px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .pcard:nth-child(even) { margin-top: 0; }
  .qrow { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 1fr; gap: 12px; }
  .svc-pic { grid-column: 1; }
  .svc-num { padding-top: 0; }
  .hero-card { padding: 22px; }
  .chip { display: none; }
  .pn { max-width: 48%; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

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