:root {
  --paper: #f5f2eb;
  --paper-2: #ece7dd;
  --white: #fff;
  --ink: #181816;
  --ink-soft: #5d5a53;
  --charcoal: #17191d;
  --charcoal-2: #23262b;
  --gold: #ad7b39;
  --gold-dark: #8c5f29;
  --gold-light: #e3c794;
  --line: #d8d1c4;
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --shadow: 0 24px 60px rgb(24 24 20 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.72; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.24; letter-spacing: .035em; }
h3 { line-height: 1.4; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); }
.section { padding: 108px 0; }
.sr-only, .skip-link, .hidden-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 999; width: auto; height: auto; clip: auto; margin: 8px; padding: 12px 18px; background: var(--white); color: var(--ink); }

.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; color: var(--gold-dark); font-size: .77rem; font-weight: 700; letter-spacing: .32em; }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > p:last-child, .split-heading > p { color: var(--ink-soft); font-size: 1rem; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; max-width: none; }
.split-heading > p { margin-bottom: 9px; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 27px; border: 1px solid transparent; cursor: pointer; font-size: .92rem; font-weight: 700; letter-spacing: .12em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--white); }
.button-gold:hover { background: var(--gold-dark); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--gold-dark); }
.button-outline { border-color: rgb(255 255 255 / 60%); color: var(--white); }
.button-outline:hover { background: rgb(255 255 255 / 12%); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; background: rgb(245 242 235 / 92%); backdrop-filter: blur(14px); transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 28px rgb(0 0 0 / 5%); }
.nav-wrap { width: min(1280px, calc(100% - 48px)); height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand { flex: 0 0 auto; display: flex; align-items: baseline; gap: 9px; font-family: var(--serif); letter-spacing: .1em; }
.brand-zh { font-weight: 900; font-size: 1.18rem; }
.brand-en { color: var(--gold-dark); font-size: .85rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; color: var(--ink-soft); font-size: .88rem; font-weight: 600; letter-spacing: .08em; }
.main-nav a { position: relative; padding: 28px 0; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 20px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-quote { margin-left: 5px; min-height: 44px; padding: 10px 20px; font-size: .82rem; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("https://static.wixstatic.com/media/620148_3d676590f2e94258a9aa68329a6c3a87~mv2.png/v1/fit/w_1920,h_1200,q_90/620148_3d676590f2e94258a9aa68329a6c3a87~mv2.png") center / cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 13 15 / 77%) 0%, rgb(12 13 15 / 49%) 54%, rgb(12 13 15 / 19%) 100%), linear-gradient(0deg, rgb(12 13 15 / 78%) 0%, transparent 56%); }
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(64px, 9vh, 108px); }
.hero h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(2.55rem, 6.3vw, 5.35rem); line-height: 1.16; letter-spacing: .035em; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 690px; color: #e7e3da; font-size: clamp(1rem, 1.6vw, 1.18rem); letter-spacing: .035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin: 17px 0 0; color: #c8c3b9; font-size: .8rem; letter-spacing: .08em; }

.proof-bar { position: relative; z-index: 2; background: var(--charcoal); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 31px 24px; border-right: 1px solid rgb(255 255 255 / 10%); text-align: center; }
.proof-grid > div:first-child { border-left: 1px solid rgb(255 255 255 / 10%); }
.proof-grid strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 1.48rem; letter-spacing: .06em; }
.proof-grid span { color: #aaa7a0; font-size: .78rem; letter-spacing: .12em; }

.experience { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 18px; }
.case-card { position: relative; min-height: 260px; padding: 38px; display: flex; align-items: flex-end; overflow: hidden; box-shadow: var(--shadow); }
.case-card-photo { grid-row: 1 / 3; min-height: 560px; color: var(--white); background: url("https://static.wixstatic.com/media/620148_895fe0020ceb49468fff1178bc758596~mv2.png/v1/fit/w_1400,h_900,q_88/620148_895fe0020ceb49468fff1178bc758596~mv2.png") center / cover no-repeat; }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(13 14 16 / 88%) 0%, rgb(13 14 16 / 10%) 76%); }
.case-commercial { background: #d9c8aa; }
.case-care { background: var(--charcoal-2); color: var(--white); }
.case-content { position: relative; z-index: 2; max-width: 530px; }
.case-type { display: inline-block; margin-bottom: 13px; color: var(--gold-dark); font-size: .73rem; font-weight: 700; letter-spacing: .18em; }
.case-card-photo .case-type, .case-care .case-type { color: var(--gold-light); }
.case-card h3 { margin-bottom: 13px; font-size: clamp(1.45rem, 2.3vw, 2.15rem); letter-spacing: .035em; }
.case-card p { margin-bottom: 17px; color: inherit; opacity: .82; font-size: .92rem; }
.case-card a { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: .83rem; font-weight: 700; letter-spacing: .08em; }
.case-number { position: absolute; right: 27px; top: 12px; color: rgb(24 24 22 / 10%); font-family: var(--serif); font-size: 5rem; font-weight: 900; }
.case-care .case-number { color: rgb(255 255 255 / 7%); }
.case-disclaimer { margin: 22px 0 0; color: var(--ink-soft); font-size: .76rem; }

.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { display: flex; min-height: 550px; flex-direction: column; background: var(--paper); border: 1px solid #e3ded4; }
.service-card img { width: 100%; height: 255px; object-fit: cover; }
.service-body { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 28px 26px 31px; }
.service-body > span { color: var(--gold-dark); font-family: var(--serif); font-size: .84rem; }
.service-body h3 { margin-bottom: 12px; font-size: 1.35rem; }
.service-body p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-soft); font-size: .92rem; }

.dark-section { background: var(--charcoal); color: var(--white); }
.section-heading-light > p, .dark-section .section-heading > p { color: #aeaaa3; }
.project-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.project { position: relative; grid-column: span 4; aspect-ratio: 4 / 3; overflow: hidden; }
.project-wide { grid-column: span 8; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 78%), transparent 55%); }
.project:hover img { transform: scale(1.045); }
.project span { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; color: var(--gold-light); font-size: .75rem; letter-spacing: .13em; }
.project span b { display: block; color: var(--white); font-family: var(--serif); font-size: 1.22rem; letter-spacing: .08em; }
.center-action { margin-top: 42px; text-align: center; }

.process { background: var(--paper); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; counter-reset: step; }
.process-list li { min-height: 230px; padding: 28px 22px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.process-list li:first-child { border-top: 3px solid var(--gold); }
.process-list li:last-child { border-right: 0; }
.process-list span { color: var(--gold-dark); font-family: var(--serif); font-size: .8rem; letter-spacing: .15em; }
.process-list h3 { margin: 16px 0 10px; font-size: 1.1rem; }
.process-list p { color: var(--ink-soft); font-size: .84rem; }

.promise-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 76px; }
.about-photo { position: relative; }
.about-photo::after { content: ""; position: absolute; z-index: -1; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy h2 { margin-bottom: 26px; }
.about-copy blockquote { margin: 0 0 24px; padding-left: 22px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; line-height: 1.8; }
.about-copy > p { color: var(--ink-soft); }
.check-list { padding: 0; margin: 24px 0; list-style: none; }
.check-list li { position: relative; margin: 11px 0; padding-left: 29px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.registration { font-size: .78rem; letter-spacing: .08em; }

.faq-section { background: var(--paper-2); }
.faq-list { border-top: 1px solid #c9c0b0; }
.faq-list details { border-bottom: 1px solid #c9c0b0; }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 18px; color: var(--gold-dark); font-family: var(--sans); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 700px; padding: 0 0 23px; margin: 0; color: var(--ink-soft); }

.quote-section { background: linear-gradient(105deg, rgb(18 19 22 / 96%), rgb(18 19 22 / 90%)), url("https://static.wixstatic.com/media/620148_a6693ab1faf648bcbe032b6894bb40e9~mv2.png/v1/fit/w_1920,h_900,q_88/620148_a6693ab1faf648bcbe032b6894bb40e9~mv2.png") center / cover; color: var(--white); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: start; }
.quote-intro h2 { font-size: clamp(2.2rem, 3.5vw, 3.25rem); }
.quote-intro > p { color: #c2beb5; }
.text-link-light { display: inline-block; margin: 8px 0 30px; padding-bottom: 4px; border-bottom: 1px solid var(--gold-light); color: var(--gold-light); font-weight: 700; }
.quote-points { display: grid; gap: 10px; color: #c8c3b9; font-size: .82rem; }
.quote-points span::before { content: "✓"; margin-right: 9px; color: var(--gold-light); }
.quote-form { padding: 38px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 16%); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.quote-form label { display: block; margin-bottom: 15px; color: #e1ddd4; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.quote-form label > span { color: var(--gold-light); }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; min-height: 48px; margin-top: 7px; padding: 11px 13px; border: 1px solid rgb(255 255 255 / 23%); border-radius: 0; outline: none; background: rgb(255 255 255 / 7%); color: var(--white); }
.quote-form select option { color: var(--ink); }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgb(227 199 148 / 14%); }
.quote-form .consent { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; color: #c1bdb5; font-weight: 400; }
.consent input { width: 17px; min-height: 17px; margin-top: 3px; }
.form-submit { width: 100%; margin-top: 5px; border: 0; }
.form-note { margin: 10px 0 0; color: #a8a49d; font-size: .7rem; text-align: center; }

.site-footer { background: #101114; color: #aaa69e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-grid > div { display: grid; align-content: start; gap: 5px; }
.footer-grid strong { color: var(--white); font-family: var(--serif); font-size: .98rem; letter-spacing: .06em; }
.footer-grid span, .footer-grid a { font-size: .76rem; letter-spacing: .06em; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { padding: 18px 0 25px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: .7rem; }
.mobile-actions { display: none; }

/* Portfolio */
.subpage-hero { padding: 164px 0 78px; background: var(--paper); }
.subpage-hero h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 6vw, 5rem); }
.subpage-hero p:last-child { max-width: 760px; color: var(--ink-soft); }
.portfolio-intro { padding: 72px 0 32px; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.portfolio-tags a { padding: 8px 15px; border: 1px solid var(--line); background: var(--white); font-size: .78rem; }
.portfolio-group { padding: 65px 0; }
.portfolio-group:nth-child(even) { background: var(--white); }
.portfolio-group-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.portfolio-group-title h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.portfolio-group-title p { max-width: 530px; margin: 0; color: var(--ink-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: #ddd; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { padding: 11px 2px 4px; color: var(--ink-soft); font-size: .77rem; }
.portfolio-cta { padding: 90px 0; background: var(--charcoal); color: var(--white); text-align: center; }
.portfolio-cta h2 { margin-bottom: 12px; }
.portfolio-cta p { color: #aaa69e; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 50px 24px; background: var(--charcoal); color: var(--white); text-align: center; }
.thanks-card { max-width: 680px; }
.thanks-card .mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 28px; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light); font-size: 1.7rem; }
.thanks-card h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.thanks-card p { color: #c4c0b8; }
.thanks-card .button { margin-top: 20px; }

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .nav-quote { display: none; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-card-photo { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 480px; }
  .service-card:last-child img { height: 300px; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-list li:nth-child(3) { border-right: 0; }
  .process-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .quote-grid { gap: 45px; }
}

@media (max-width: 820px) {
  .container, .narrow { width: min(100% - 34px, 680px); }
  .section { padding: 78px 0; }
  .nav-wrap { width: calc(100% - 30px); height: 70px; }
  .brand { gap: 6px; }
  .brand-zh { font-size: 1.02rem; }
  .brand-en { font-size: .72rem; }
  .menu-button { display: block; margin-left: auto; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 18px 28px 30px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 22px 40px rgb(0 0 0 / 14%); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .hero { min-height: 88svh; }
  .hero-shade { background: linear-gradient(90deg, rgb(12 13 15 / 73%), rgb(12 13 15 / 36%)), linear-gradient(0deg, rgb(12 13 15 / 88%), transparent 68%); }
  .hero-content { padding-bottom: 64px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / 10%); }
  .split-heading { grid-template-columns: 1fr; gap: 8px; }
  .case-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .case-card-photo { grid-column: auto; min-height: 420px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 0; }
  .service-card img, .service-card:last-child img { height: 250px; }
  .project, .project-wide { grid-column: span 12; aspect-ratio: 16 / 10; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li, .process-list li:nth-child(3) { border-right: 1px solid var(--line); }
  .process-list li:nth-child(even) { border-right: 0; }
  .about-grid, .quote-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 62px; }
  .quote-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; gap: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-group-title { display: block; }
  .portfolio-group-title p { margin-top: 12px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 58px; }
  h2 { font-size: 2rem; }
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 66px 0; }
  .eyebrow { font-size: .68rem; letter-spacing: .23em; }
  .hero { min-height: 84svh; }
  .hero-media { background-position: 58% center; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .hero-lead { font-size: .94rem; }
  .hero-actions .button { width: 100%; }
  .hero-note { text-align: center; }
  .proof-grid > div { padding: 23px 12px; }
  .case-card { padding: 28px 24px; }
  .case-card-photo { min-height: 390px; }
  .service-card img, .service-card:last-child img { height: 220px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:nth-child(3), .process-list li:nth-child(even) { min-height: 0; border-right: 0; border-top: 1px solid var(--line); }
  .process-list li:first-child { border-top: 3px solid var(--gold); }
  .about-photo::after { inset: 15px -10px -15px 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 25px 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .mobile-actions { position: fixed; z-index: 95; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; height: 58px; box-shadow: 0 -7px 24px rgb(0 0 0 / 14%); }
  .mobile-actions a { display: grid; place-items: center; background: var(--charcoal); color: var(--white); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
  .mobile-actions a:last-child { background: var(--gold); }
  .subpage-hero { padding: 132px 0 58px; }
}

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