/* ===== 00-system.css ===== */
/* Chengen Presentation design system — single source of truth for content UI. */
body.chengen-project-presentation{
	--cg-content-width:min(calc(100% - 40px), 1500px);
	--cg-paper:#fdfbf8;
	--cg-paper-contact:#f4f0e7;
	--cg-paper-deep:#f1e9dc;
	--cg-paper-strengths:#faf6f0;
	--cg-ink:#2f2b27;
	--cg-body:#666666;
	--cg-muted:#948c83;
	--cg-faint:#c3bbb1;
	--cg-gold:#c99b63;
	--cg-gold-deep:#b67d3f;
	--main-title--fz:40px;
	--title--fz:25px;
	--title02--fz:30px;
	--subtitle--fz:22px;
	--body--fz:16px;
	--ghost--fz:250px;
	--cg-serif:"Noto Serif TC","Songti TC","PMingLiU",serif;
	--cg-en:Georgia,"Times New Roman",serif;
}

body.chengen-project-presentation .chengen-home-presentation{background:var(--cg-paper)}
body.chengen-project-presentation .chengen-home-presentation section[id]{scroll-margin-top:112px}

body.chengen-project-presentation .about-title,
body.chengen-project-presentation .services-title,
body.chengen-project-presentation .process-heading h2,
body.chengen-project-presentation .projects-heading h2,
body.chengen-project-presentation .strengths-heading h2,
body.chengen-project-presentation .contact-copy h2{
  font-family:var(--cg-serif);
  font-size:var(--main-title--fz);
  color:var(--cg-ink);
}

body.chengen-project-presentation p,
body.chengen-project-presentation label,
body.chengen-project-presentation input,
body.chengen-project-presentation select,
body.chengen-project-presentation textarea{
  font-size:var(--body--fz);
}
@media(max-width:1440px){
body.chengen-project-presentation{
	--ghost--fz:180px;
}
}
@media(max-width:980px){
  body.chengen-project-presentation{
    --cg-content-width:88%;
	--main-title--fz: 35px;
	--title02--fz: 25px;
	--body--fz: 15px;
  }
}
@media(max-width:640px){
  body.chengen-project-presentation{
    --cg-content-width:calc(100% - 32px);
  }
}

/* ===== 01-motion.css ===== */
/* Chengen Presentation motion system — no layout or colour overrides here. */
body.chengen-project-presentation{
  --ease-reveal:cubic-bezier(.16,1,.3,1);
}
body.chengen-project-presentation [data-reveal]{
  opacity:0;
  transform:translate3d(0,52px,0) scale(.985);
  transition:opacity 1.05s var(--ease-reveal),transform 1.05s var(--ease-reveal);
  will-change:opacity,transform;
  backface-visibility:hidden;
}
body.chengen-project-presentation [data-reveal].is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
@media(prefers-reduced-motion:reduce){
  body.chengen-project-presentation [data-reveal],
  body.chengen-project-presentation [data-reveal].is-visible{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* ===== 01-hero.css ===== */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:-2;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(35,27,21,.22),rgba(38,30,24,.055) 45%,rgba(30,24,20,.12));
  pointer-events:none;
}
.hero-center{
  text-align:center;
  padding-top:90px;
  position:relative;
  z-index:2;
}
.hero-brand{
  margin-bottom:10px;
}
.hero-brand-title,
.hero-brand-en {
    margin:0;
    font-family:inherit;
    font-weight:400;
    font-size: clamp(12px, 1.5vw, 22px);
    line-height:1.45;
    letter-spacing: .5em;
    text-shadow: 0 2px 5px rgba(0,0,0,.62),0 8px 24px rgba(0,0,0,.28);
}
body.chengen-project-presentation .hero-title {
    font-family: "Noto Serif TC","Songti TC","PMingLiU",serif;
    font-weight: 600;
    font-size: clamp(24px,3vw,45px);
    letter-spacing: .1em;
    line-height: 1.55;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,.72),0 10px 32px rgba(0,0,0,.32);
}

/* Design-spec bottom cue: open triangle, HTML label and a CSS chevron. */
.scroll-more{
  --triangle-width:270px;
  --triangle-height:140px;
  --triangle-half:135px;
  --triangle-line:194.5px;
  --triangle-angle:43.96deg;
  position:absolute;
  left:50%;
  bottom:-1px;
  transform:translateX(-50%);
  width:var(--triangle-width);
  height:var(--triangle-height);
  z-index:3;
  color:#fff;
  text-decoration:none;
  text-align:center;
}
.scroll-more::before,
.scroll-more::after{
  content:"";
  position:absolute;
  bottom:0;
  width:1px;
  height:var(--triangle-line);
  background:rgba(255,255,255,.92);
  transform-origin:50% 100%;
  pointer-events:none;
}
.scroll-more::before{
  left:0;
  transform:rotate(var(--triangle-angle));
}
.scroll-more::after{
  right:0;
  transform:rotate(calc(var(--triangle-angle) * -1));
}
.scroll-more-label{
  position:absolute;
  left:50%;
  bottom:43px;
  transform:translateX(-50%);
  white-space:nowrap;
  font-size:16px;
  line-height:1;
  font-weight:600;
  letter-spacing:.11em;
  text-shadow:0 2px 7px rgba(0,0,0,.5);
  transition:opacity .25s ease;
}
.scroll-more-chevron{
  position:absolute;
  left:50%;
  bottom:18px;
  width:9px;
  height:9px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateX(-50%) rotate(45deg);
  transition:transform .25s ease,opacity .25s ease;
}
.scroll-more:hover .scroll-more-label{opacity:.88}
.scroll-more:hover .scroll-more-chevron{transform:translate(-50%,3px) rotate(45deg);opacity:.88}

@media(max-width:980px){
	.hero{min-height: 75svh;}
}
@media(max-width:640px){
.hero-media img{object-position:58% center}
.hero::before{background:linear-gradient(90deg,rgba(35,27,21,.24),rgba(38,30,24,.075) 52%,rgba(30,24,20,.14))}
.hero-center {
	max-width: 450px;
	padding:0 20px 40px;
}
body.chengen-project-presentation .hero-title{letter-spacing:1px}
.scroll-more{
	--triangle-width:214px;
	--triangle-height:112px;
	--triangle-half:107px;
	--triangle-line:154.9px;
	--triangle-angle:43.68deg;
}
.scroll-more-label{bottom:35px;font-size:13px}
.scroll-more-chevron{bottom:15px;width:8px;height:8px}
}

/* ===== 02-about.css ===== */
.about{
  padding:96px 0 6%;
  position:relative;
  background:var(--cg-paper);
}
.about-wrap{
  width:var(--cg-content-width);
  max-width:none;
  margin-left:auto;
  margin-right:auto;
}
.about-top {
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(0,1fr);
    gap: clamp(72px,8vw,200px);
    margin-bottom: 80px;
    align-items: end;
}
.about-title{
  margin:0 0 30px;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--main-title--fz);
  line-height:1.22;
  font-weight:500;
  letter-spacing:.08em;
}
.about-meaning{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  color:var(--cg-body);
  font-size:var(--body--fz);
  line-height:1.9;
  white-space:nowrap;
}
.about-meaning b {
    color: var(--cg-gold);
    font-size: 30px;
    line-height: 100%;
    font-weight: 600;
    font-family: var(--cg-serif);
    margin-left: -15px;
}
.about-story {
    justify-self: end;
    color: var(--cg-body);
    font-size: var(--body--fz);
    line-height: 220%;
}
.about-story p{margin:0 0 7px}
.about-story p:last-child{margin-bottom:0}
.about-image{
  position:relative;
  width:100%;
  aspect-ratio:939 / 440;
  margin:0;
  overflow:hidden;
  background:#eee7dc;
}
.about-image>img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:brightness(1.08) saturate(.91) contrast(.97);
}
.about-image-label {
    position: absolute;
    left: 24px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    color: #ffffffbd;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(50px,3.8vw,64px);
    line-height: 110%;
    letter-spacing: .09em;
}
.about-image-label span{display:block}

@media(max-width:980px){
  .about-top{grid-template-columns:1fr;gap:34px;margin-bottom:44px}
  .about-story{justify-self:start;width:min(100%,680px)}
}
@media(max-width:780px){
	.about-image{aspect-ratio: 4/2.5;}
}
@media(max-width:640px){
  .about{padding:74px 0 46px}
  .about-meaning{white-space:normal;gap:10px 18px;font-size:16px}
  .about-story{font-size:16px}
  .about-image{aspect-ratio:4 / 3}
  .about-image-label{left:16px;bottom:14px;font-size:42px}
}

.chengen-home-presentation{background:var(--cg-paper);}

/* Empty customer-editable media slots keep the exact layout size without loading a fallback image. */
.cg-media-placeholder{
  display:block;
  width:100%;
  height:100%;
  background:#d8d8d8;
}
.hero-media>.cg-media-placeholder,
.strengths-bg>.cg-media-placeholder{position:absolute;inset:0;}
.strengths-bg>.cg-media-placeholder{opacity:.24;}

/* ===== 03-services.css ===== */
.services{
  position:relative;
  padding:7% 0;
  min-height:680px;
  background:var(--cg-paper);
  overflow:hidden;
}
/* Full-bleed editorial English background. Desktop is standardized to 250px. */
.services-ghost {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: var(--cg-en);
    font-size: clamp(25px, 15vw, 250px);
    line-height: .78;
    color: rgba(235,225,211,.76);
    opacity: .25;
    z-index: 3;
    pointer-events: none;
}
.services-grid{
  position:relative;
  z-index:4;
  width:var(--cg-content-width);
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  padding-top:38px;
  display:grid;
  grid-template-columns: 1fr 40%;
  gap:clamp(78px,8vw,145px);
  align-items:start;
}
.service-collage{
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 25px;
  align-items:start;
  padding-top:54px;
}
.service-photo{
  position:relative;
  width:100%;
  aspect-ratio:2.6/4;
  overflow:hidden;
  background:#eee7dc;
  box-shadow:none;
  transition:opacity .42s var(--ease),transform .55s var(--ease),filter .42s var(--ease);
  margin: 0;
}
.service-photo:first-child{transform:translateY(80px)}
.service-photo:last-child{transform:translateY(0)}
.service-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .75s var(--ease);
}
.service-photo:first-child img{object-position:center 46%}
.service-photo:last-child img{object-position:center center}
.service-photo.is-active img{transform:scale(1.055)}
.service-photo:hover img{transform:scale(1.04)}
.service-photo.is-muted{opacity:.78;filter:saturate(.9)}
.service-photo:first-child.is-active{transform:translateY(46px)}
.service-photo:last-child.is-active{transform:translateY(-4px)}
.service-collage-caption {
    grid-column: 2;
    margin: 20px 0px;
    color: #d9b88e;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 1px;
}
.services-content{position:relative;z-index:6;padding-top:64px}
.services-title{
  margin:0 0 200px;
  font-weight:500;
  line-height:1.22;
  letter-spacing:.05em;
  text-align:right;
}
.services-list {
    display: grid;
    gap: 50px;
    justify-content: center;
}
.service-item{
  max-width:390px;
  margin-left:auto;
  color:var(--cg-body);
  cursor:default;
  outline:none;
  transition:opacity .32s var(--ease),transform .32s var(--ease);
}
.service-item-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.service-no{
  flex:0 0 auto;
  font-size:var(--title--fz);
  line-height:1;
  color:var(--cg-gold);
  letter-spacing:.02em;
}
.service-divider{
  width:1px;
  height:22px;
  background:rgba(201,155,99,.62);
  flex:0 0 1px;
}
.service-item h3{
  margin:0;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--title--fz);
  line-height:1.25;
  font-weight:600;
  letter-spacing:.08em;
  color:var(--cg-ink);
}
.service-item p{
  margin:0;
  font-size:var(--body--fz);
  line-height:1.72;
  color:var(--cg-body);
  letter-spacing:.02em;
}
.service-item.is-active{transform:translateX(7px)}
.service-item.is-active .service-no{color:#d6a162}
.service-item.is-active h3{color:#b67d3f}
.service-item.is-active p{color:#5f5952}
.service-item .service-no,.service-item h3,.service-item p{transition:color .28s var(--ease)}
.services.has-service-focus .service-item:not(.is-active){opacity:.6}

@media(max-width:1200px){
  .services-grid{gap:64px;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr)}
  .services-title{margin-bottom:90px}
  .service-collage-caption{font-size: 10px;}
}
@media(max-width:980px){
	.services{padding:110px 0 90px}
	.services-grid {
		display: flex;
		padding-top: 58px;
		flex-direction: column-reverse;
		max-width: 700px;
		align-items: center;
	}
	.service-collage{width:min(620px,100%);margin:auto;padding-top:20px}
	.services-content{padding-top:0}
	.services-title{text-align:left;margin-bottom:48px}
	.service-item{max-width:100%;margin-left:0}
}
@media(max-width:640px){
	.services{padding:80px 0}
	.services-grid{padding-top:0}
	.service-collage{gap:10px}
	.service-photo:first-child{transform:translateY(26px)}
	.service-photo:first-child.is-active{transform:translateY(22px)}
	.service-photo:last-child.is-active{transform:translateY(-3px)}
	.service-collage-caption {
		grid-column: 1/3;
		padding-top: 10px;
	}
}

/* ===== 04-process.css ===== */
.process{
  position:relative;
  padding:6% 0;
  background:var(--cg-paper);
  overflow:hidden;
  border-top:1px solid rgba(120,105,83,.035);
  isolation:isolate;
  display:flex;
  align-items:center;
}
/* Reference layout: slightly deeper warm panel + a clean white right rail for vertical English. */
.process::before{
  content:"";
  position:absolute;
  inset:0 108px 0 0;
  background:var(--cg-paper-deep);
  z-index:0;
}
.process-wrap {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.process-heading{
  text-align:center;
  margin:0 auto 58px;
}
.process-heading h2{
  margin:0 0 13px;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--title--fz);
  line-height:1.2;
  font-weight:500;
  letter-spacing:.08em;
  color:var(--cg-ink);
}
.process-heading p{
  margin:0;
  font-size:var(--body--fz);
  line-height:1.7;
  color:var(--cg-muted);
  letter-spacing:.08em;
}
.process-steps{
	display:grid;
	grid-template-columns: minmax(0,1fr) 60px minmax(0,1fr) 60px minmax(0,1fr) 60px minmax(0,1fr) 60px minmax(0,1fr);
	align-items:center;
	gap:0;
}
.process-step{
  min-width:0;
  text-align:center;
  padding:0 8px;
  outline:none;
  cursor:default;
  transition:transform .62s var(--ease-reveal),filter .55s var(--ease-reveal);
  will-change:transform;
  backface-visibility:hidden;
}
.process-icon-wrap{
  width:76px;
  height:76px;
  margin:0 auto 9px;
  display:grid;
  place-items:center;
  transition:transform .62s var(--ease-reveal),filter .55s var(--ease-reveal);
  will-change:transform;
}
.process-icon-wrap svg{
  width:70px;
  height:70px;
  stroke:#dfb77d;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:stroke .38s var(--ease),transform .62s var(--ease-reveal);
}
.process-no {
    display: block;
    margin: 20px 0 5px;
    font-size: 14px;
    color: var(--cg-gold);
    letter-spacing: .04em;
    transition: color .38s var(--ease);
}
.process-step h3{
  margin:0 0 10px;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--subtitle--fz);
  line-height:1.25;
  font-weight:600;
  letter-spacing:.1em;
  color:var(--cg-ink);
  transition:color .38s var(--ease),transform .55s var(--ease-reveal);
}
.process-step p{
  margin:0 auto;
  max-width:190px;
  font-size:var(--body--fz);
  line-height:1.65;
  color:var(--cg-muted);
  letter-spacing:.015em;
  transition:color .38s var(--ease);
}
.process-arrow{
  height:100%;
  display:grid;
  place-items:center;
  opacity:.62;
  transition:opacity .5s var(--ease-reveal),transform .58s var(--ease-reveal);
  will-change:transform;
}
.process-arrow span {
    position: relative;
    width: 100%;
    display: block;
}
.process-arrow span::before, .process-arrow span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 190%;
    height: 1px;
    background: rgba(211,167,110,.72);
    transform-origin: right center;
}
.process-arrow span::before{transform:rotate(75deg)}
.process-arrow span::after{transform:rotate(-75deg)}
.process-ghost {
    position: absolute;
    right: 0;
    top: 50%;
    width: 105px;
    display: flex;
    transform: translateY(-50%) rotate(90deg);
    white-space: nowrap;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(42px,3vw,50px);
    letter-spacing: .25em;
    color: #dec9aa;
    opacity: .5;
    justify-content: center;
}
.process-step:hover,
.process-step:focus-visible{transform:translate3d(0,-7px,0)}
.process-step:hover .process-icon-wrap,
.process-step:focus-visible .process-icon-wrap{transform:translate3d(0,-3px,0) scale(1.055)}
.process-step:hover .process-icon-wrap svg,
.process-step:focus-visible .process-icon-wrap svg{stroke:#c88f4e;transform:scale(1.025)}
.process-step:hover .process-no,
.process-step:focus-visible .process-no{color:#c88f4e}
.process-step:hover h3,
.process-step:focus-visible h3{color:var(--cg-gold-deep);transform:translate3d(0,-1px,0)}
.process-step:hover p,
.process-step:focus-visible p{color:#5f5952}
.process-step:hover + .process-arrow{opacity:1;transform:translate3d(4px,0,0)}

/* Sequential entrance is triggered by the Presentation JS only when the row reaches the viewport. */
.process-step{
  opacity:0;
  transform:translate3d(0,48px,0) scale(.965);
}
.process-step.is-entered{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  transition:
    opacity .82s var(--ease-reveal),
    transform .95s var(--ease-reveal),
    filter .55s var(--ease-reveal);
}
.process-step.is-entered:hover,
.process-step.is-entered:focus-visible{transform:translate3d(0,-7px,0) scale(1)}
.process-arrow{opacity:0;transform:translate3d(-8px,0,0)}
.process-arrow.is-entered{
  opacity:.62;
  transform:translate3d(0,0,0);
  transition:opacity .72s var(--ease-reveal),transform .82s var(--ease-reveal);
}
@media(max-width:1440px){
.process-wrap{padding-right: 8%;}
}
@media(max-width:1200px){
  .process::before{right:82px}
  .process-wrap{width:88%;padding-right:56px}
  .process-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
  .process-arrow{display:none}
  .process-step p{max-width:170px}
}
@media(max-width:980px){
  .process{min-height:auto;padding:76px 0 78px;background:var(--cg-paper-deep);display:block}
  .process::before{display:none}
  .process-heading{margin-bottom:44px}
  .process-wrap{width: 95%; padding-right:0}
  .process-ghost{display:none}
}
@media(max-width:780px){
.process-steps {
    grid-template-columns: repeat(1,minmax(0,1fr));
	gap: 40px;
}
.process-step p {
    max-width: 100%;
}
}
@media(max-width:640px){
  .process-wrap{width:calc(100% - 32px)}
  .process-steps{grid-template-columns:1fr;gap:32px}
  .process-step:last-of-type{grid-column:auto;width:auto;justify-self:stretch}
  .process-icon-wrap{width:68px;height:68px}
  .process-icon-wrap svg{width:62px;height:62px}
  .process-step p{max-width:280px}
}

@media(prefers-reduced-motion:reduce){
  .process-step,.process-step.is-entered{opacity:1;transform:none;transition:none}
  .process-arrow,.process-arrow.is-entered{opacity:.62;transform:none;transition:none}
}

/* ===== 05-stories-marquee.css ===== */
.stories-marquee {
    position: relative;
    background: var(--cg-paper);
    padding: 7% 0 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    isolation: isolate;
}
.stories-marquee-row{
  width:100%;
  overflow:hidden;
  line-height:.72;
}
.stories-marquee-track{
  display:flex;
  width:max-content;
  will-change:transform;
  backface-visibility:hidden;
  transform:translate3d(0,0,0);
}
.stories-marquee-group{
  flex:none;
  display:flex;
  align-items:center;
  gap:clamp(56px,5vw,96px);
  padding-right:clamp(56px,5vw,96px);
}
.stories-marquee-text{
  flex:none;
  white-space:nowrap;
  font-family:Georgia,"Times New Roman",serif;
  font-size:var(--ghost--fz);
  font-weight:400;
  line-height:.72;
  letter-spacing:.005em;
  color:#eee5d9;
  opacity:.26;
  user-select:none;
}
.stories-marquee.is-marquee-active .stories-marquee-row--left .stories-marquee-track{
  animation:chengen-marquee-left 55s linear infinite;
}
.stories-marquee.is-marquee-active .stories-marquee-row--right .stories-marquee-track{
  animation:chengen-marquee-right 61s linear infinite;
}
@keyframes chengen-marquee-left{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@keyframes chengen-marquee-right{
  from{transform:translate3d(-50%,0,0)}
  to{transform:translate3d(0,0,0)}
}

@media(max-width:980px){
  .stories-marquee{min-height:330px;padding:38px 0 46px;gap:28px}
  .stories-marquee-text{font-size:180px}
}
@media(max-width:640px){
  .stories-marquee{min-height:220px;padding:32px 0 36px;gap:20px}
  .stories-marquee-text{font-size:96px}
  .stories-marquee-group{gap:34px;padding-right:34px}
}
@media(prefers-reduced-motion:reduce){
  .stories-marquee-track{animation:none!important;transform:none!important}
}

/* ===== 06-projects.css ===== */
.projects{
  background:var(--cg-paper);
  padding:70px 0 110px;
  position:relative;
}
.projects-heading{
  width:var(--cg-content-width);
  margin:0 auto 34px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:48px;
}
.projects-heading h2{
  margin:0;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--title--fz);
  line-height:1.2;
  font-weight:500;
  letter-spacing:.12em;
  color:var(--cg-ink);
}
.projects-heading-copy {
    color: var(--cg-body);
}
.projects-heading-copy p{
  margin:0 0 7px;
  font-size:var(--body--fz);
  line-height:1.6;
  letter-spacing:.04em;
}
.projects-heading-copy span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--cg-faint);
    letter-spacing: 1px;
}
.projects-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-areas: "main main"
    "left right";
    gap: 12px;
}
.project-card{
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:#d8d3cb;
  overflow:hidden;
  cursor:pointer;
  text-align:left;
  color:#fff;
  appearance:none;
  isolation:isolate;
}
.project-card--1{grid-area:main;aspect-ratio:3.5 / 1}
.project-card--2{grid-area:left;aspect-ratio:1 / .58}
.project-card--3{grid-area:right;aspect-ratio:1 / .58}
.project-card-media,
.project-card-media img,
.project-card-shade{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.project-card-media img{
  object-fit:cover;
  filter:grayscale(1) saturate(.16) contrast(.94) brightness(.94);
  transform:scale(1.001);
  transition:
    filter .7s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1);
}
.project-card--1 .project-card-media img{object-position:center 52%}
.project-card--2 .project-card-media img{object-position:center 54%}
.project-card--3 .project-card-media img{object-position:center 48%}
.project-card-shade{
  background:linear-gradient(90deg,rgba(24,18,13,.55) 0%,rgba(24,18,13,.24) 42%,rgba(24,18,13,.02) 75%);
  opacity:.28;
  transition:opacity .65s cubic-bezier(.16,1,.3,1);
  z-index:1;
}
.project-card-copy{
  position:absolute;
  left:32px;
  bottom:30px;
  z-index:2;
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:
    "title link"
    "summary link";
  align-items:end;
  column-gap:26px;
  width:min(650px,calc(100% - 64px));
  opacity:0;
  transform:translate3d(-28px,0,0);
  transition:
    opacity .55s cubic-bezier(.16,1,.3,1),
    transform .65s cubic-bezier(.16,1,.3,1);
}
.project-card-copy strong {
    display: block;
    font-size: var(--title02--fz);
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 3px;
    padding-left: 14px;
    border-left: 4px solid #d9ad73;
    font-family: "Noto Serif TC","Songti TC","PMingLiU",serif;
}
.project-card-copy small{
  grid-area:summary;
  display:block;
  margin-top:6px;
  padding-left:16px;
  font-size:var(--body--fz);
  line-height:1.6;
  color:#fff;
  letter-spacing:.02em;
}
.project-card-link {
    grid-area: link;
    text-align: center;
    padding: 10px;
    border: 1px solid rgba(221,178,119,.72);
    font-size: 15px;
    letter-spacing: 2px;
    transition: background .3s ease,color .3s ease,border-color .3s ease;
}
.project-card:is(:hover,:focus-visible,.is-active) .project-card-media img{
  filter:grayscale(0) saturate(.92) contrast(.98) brightness(1.01);
  transform:scale(1.035);
}
.project-card:is(:hover,:focus-visible,.is-active) .project-card-shade{opacity:.72}
.project-card:is(:hover,:focus-visible,.is-active) .project-card-copy{
  opacity:1;
  transform:translate3d(0,0,0);
}
.project-card:is(:hover,:focus-visible,.is-active) .project-card-link {
    background: #27231f29;
    border-color: #d4a66d;
    color: #f1cf9f;
}
.project-card:focus-visible{outline:2px solid #c98f50;outline-offset:4px}

.project-gallery-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:7vh 7vw;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .34s ease,visibility 0s linear .34s;
}
.project-gallery-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .34s ease,visibility 0s linear 0s;
}
.project-gallery-backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,9,8,.78);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  opacity:0;
  transition:opacity .38s ease;
}
.project-gallery-modal.is-open .project-gallery-backdrop{opacity:1}
.project-gallery-panel{
  position:relative;
  width:min(82vw,1320px);
  max-height:84vh;
  overflow:auto;
  background:#f8f5ef;
  box-shadow:0 34px 100px rgba(0,0,0,.34);
  padding:34px 36px 46px;
  opacity:0;
  transform:translate3d(0,28px,0) scale(.975);
  transform-origin:center center;
  transition:opacity .34s ease,transform .46s cubic-bezier(.16,1,.3,1);
}
.project-gallery-modal.is-open .project-gallery-panel{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
.project-gallery-head{
  position:sticky;
  top:-34px;
  z-index:4;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin:-34px -36px 30px;
  padding:26px 36px 21px;
  background:rgba(248,245,239,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(84,72,60,.1);
}
.project-gallery-kicker{
  display:block;
  margin-bottom:6px;
  font-size:var(--body--fz);
  letter-spacing:.16em;
  color:var(--cg-gold);
}
.project-gallery-head h3{
  margin:0;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:30px;
  line-height:1.25;
  font-weight:500;
  color:var(--cg-ink);
}
.project-gallery-meta{margin-top:7px;color:#8b8177;font-size:13px;line-height:1.6;letter-spacing:.06em}
.project-gallery-meta[hidden]{display:none}
.project-gallery-close{
  width:46px;
  height:46px;
  border:1px solid rgba(80,69,59,.18);
  border-radius:50%;
  background:#fff;
  color:#4d463e;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  transition:transform .3s ease,background .3s ease;
}
.project-gallery-close:hover{transform:rotate(8deg) scale(1.04);background:#eee6dc}
.project-gallery-masonry{
  column-count:3;
  column-gap:14px;
}
.project-gallery-item{
  break-inside:avoid;
  margin:0 0 14px;
  background:#e8e1d8;
  overflow:hidden;
}
.project-gallery-item img{
  display:block;
  width:100%;
  height:auto;
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
.project-gallery-item:hover img{transform:scale(1.02)}

@media(max-width:980px){
  .project-card--1{aspect-ratio:2.3 / 1}
  .project-card--2, .project-card--3{    aspect-ratio: 4/3;}
  .project-card-copy{left:22px;bottom:22px;width:calc(100% - 44px)}
  .project-gallery-masonry{column-count:2}
}
@media(max-width:780px){
  .projects{padding:58px 0 78px}
  .projects-heading{width:calc(100% - 32px);display:block;margin-bottom:26px}
  .projects-heading-copy{margin-top:16px}
  .projects-grid{grid-template-columns:1fr;grid-template-areas:"main" "left" "right";gap:10px}
  .project-card--1,.project-card--2,.project-card--3{aspect-ratio:4 / 2.5}
  .project-card-copy{opacity:1;transform:none;grid-template-columns:1fr;grid-template-areas:"title" "summary" "link";row-gap:6px}
  .project-card-link{margin-top:8px}
  .project-gallery-modal{padding:3vh 12px}.project-gallery-panel{width:100%;max-height:94vh;padding:24px 18px 30px}
  .project-gallery-head{top:-24px;margin:-24px -18px 24px;padding:20px 18px 16px}
  .project-gallery-masonry{column-count:1}
}
@media(max-width:640px){
.projects {
    padding: 0px 0 60px;
}
}
@media(max-width:480px){
.project-card--1, .project-card--2, .project-card--3 {   aspect-ratio: 4 / 4.5;}
.project-card-link{font-size: 13px;}

}
@media(prefers-reduced-motion:reduce){
  .project-card-media img,.project-card-copy,.project-card-shade,.project-card-link{transition:none!important}
}

/* ===== 07-strengths.css ===== */
.strengths{
  position:relative;
  min-height:920px;
  overflow:hidden;
  background:var(--cg-paper-strengths);
  isolation:isolate;
  padding:108px 0 122px;
}
.strengths-bg{
  position:absolute;
  inset:0;
  z-index:-4;
  overflow:hidden;
}
.strengths-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 50%;
  filter:saturate(.78) contrast(.94) brightness(1.04);
  opacity:.24;
  transform:scale(1.015);
}
/* soft brushed white wash over the background photo */
.strengths::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    linear-gradient(90deg,rgba(250,246,240,.78) 0%,rgba(250,246,240,.60) 28%,rgba(250,246,240,.22) 58%,rgba(250,246,240,.14) 100%),
    radial-gradient(circle at 23% 58%,rgba(255,255,255,.78),rgba(255,255,255,0) 33%),
    radial-gradient(circle at 33% 70%,rgba(255,255,255,.46),rgba(255,255,255,0) 24%),
    radial-gradient(circle at 88% 22%,rgba(255,255,255,.24),rgba(255,255,255,0) 24%);
}
.strengths::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(0deg,rgba(255,252,247,.08),rgba(255,252,247,.08));
}
.strengths-ghost {
    position: absolute;
    inset: 8px 0 auto;
    z-index: 2;
	font-family: Georgia,"Times New Roman",serif;    
	color: rgba(255,255,255,.68);
    opacity: .78;
    font-size: clamp(25px, 15vw, 250px);
    line-height: .9;
    letter-spacing: .05em;
    font-weight: 400;
}
.strengths-ghost span{display:block;white-space:nowrap}
.strengths-ghost span:nth-child(1){margin-left:3%}
.strengths-ghost span:nth-child(2){margin-left:3%;margin-top:12px}
.strengths-ghost span:nth-child(3){margin-left:3%;margin-top:12px}

.strengths-inner{
  width:var(--cg-content-width);
  margin:0 auto;
  min-height:690px;
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:minmax(300px,.92fr) minmax(500px,1.26fr);
  grid-template-rows:auto 1fr;
  column-gap:72px;
  align-items:start;
}
.strengths-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin: 30% 0 0 50%;
}
.strengths-heading h2{
  margin:0;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--title--fz);
  line-height:1.5;
  font-weight:500;
  letter-spacing:.08em;
  color:var(--cg-ink);
}
.strengths-copy{
  grid-column:1;
  grid-row:2;
  align-self:end;
  max-width:540px;
  padding:0 0 16px;
  color:var(--cg-body);
  z-index:7;
}
.strengths-copy p{
  margin:0 0 22px;
  font-size:var(--body--fz);
  line-height:1.9;
  letter-spacing:.035em;
}
.strengths-images{
  grid-column:2;
  grid-row:1 / 3;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:22px;
  padding-top:86px;
  min-height:0;
  z-index:6;
}
.strengths-image{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#e9e1d7;
  box-shadow:0 18px 48px rgba(71,55,40,.16),0 4px 16px rgba(71,55,40,.08);
  opacity:0;
  will-change:transform,opacity;
  transition:
    transform .95s cubic-bezier(.16,1,.3,1),
    opacity .82s cubic-bezier(.16,1,.3,1),
    box-shadow .55s cubic-bezier(.16,1,.3,1);
}
.strengths-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:saturate(.88) contrast(.97) brightness(1.03);
  transition:transform 1.15s cubic-bezier(.16,1,.3,1),filter .7s ease;
}
/* staggered, but with a visible gap: not overlapping */
.strengths-image--top {
    max-width: 580px;
    aspect-ratio: 1.48 / 1;
    align-self: flex-end;
}
.strengths-image--bottom{
    max-width: 580px;
  aspect-ratio:1.48 / 1;
  align-self:flex-start;
  margin-left:8%;
  transform:translate3d(28px,54px,0) scale(.965);
}
.strengths.is-entered .strengths-image{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
.strengths.is-entered .strengths-image--top{transition-delay:.08s}
.strengths.is-entered .strengths-image--bottom{transition-delay:.24s}
.strengths-image:hover{
  transform:translate3d(0,-8px,0) scale(1.018)!important;
  box-shadow:0 30px 72px rgba(71,55,40,.22),0 8px 22px rgba(71,55,40,.12);
}
.strengths-image:hover img{
  transform:scale(1.028);
  filter:saturate(.98) contrast(1) brightness(1.04);
}

@media(max-width:1200px){
  .strengths{min-height:820px}
  .strengths-inner{width:88%;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);column-gap:42px}
  .strengths-heading{margin:74px 0 0}
  .strengths-copy{padding-right:18px}
  .strengths-images{padding-top:72px;gap:20px}
  .strengths-image--top,.strengths-image--bottom{width:82%}
  .strengths-image--bottom{margin-left:5%}
}
@media(max-width:980px){
	.strengths{min-height:auto;padding:78px 0 50px}
	.strengths-ghost{font-size:120px;opacity:.80;top:22px}
	.strengths-inner {
		width: 90%;
		grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr);
		column-gap: 20px;
		align-items: center;
	}
	.strengths-heading{margin:22px 0 36px}
	.strengths-copy{max-width:none;margin-bottom:42px}
	.strengths-images{display:block;padding-top:0}
	.strengths-image--top,.strengths-image--bottom{width:78%;margin-left:0}
	.strengths-image--top{margin-left:auto;margin-right:0}
	.strengths-image--bottom{margin-top:18px}
}
@media(max-width:780px){
.strengths {
    padding: 110px 0 70px;
}
.strengths-inner {
    display: flex;
    flex-direction: column;
	max-width: 600px;
}
}
@media(max-width:640px){
  .strengths{padding:66px 0 76px}
  .strengths-ghost{font-size:78px;line-height:.82}
  .strengths-copy p{font-size:16px}
  .strengths-image--top,.strengths-image--bottom{width:88%}
}
@media(prefers-reduced-motion:reduce){
  .strengths-image,
  .strengths.is-entered .strengths-image{
    opacity:1;
    transform:none;
    transition:none;
  }
  .strengths-image img{transition:none}
}

/* ===== 09-contact.css ===== */
/* 09 Contact — rebuilt against the approved contact reference. */
.contact {
    position: relative;
    overflow: hidden;
    background: var(--cg-paper-contact);
    padding: 5% 0;
}
.contact-inner {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 55%;
    gap: 9%;
    align-items: start;
    position: relative;
    z-index: 3;
}
.contact-copy{
  align-self:start;
  padding:80px 0 0;
}
.contact-copy h2{
  margin:0 0 44px;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:var(--title--fz);
  line-height:1.35;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--cg-ink);
}
.contact-copy p{
  margin:0;
  font-size:var(--body--fz);
  line-height:1.9;
  letter-spacing:.035em;
  color:var(--cg-body);
}
.contact-form-wrap{
  position:relative;
  z-index:4;
  width:100%;
  max-width:none;
  justify-self:stretch;
}
.contact-form-wrap form{margin:0}
.contact-form-wrap .field{margin:0 0 9px}
.contact-form-wrap label {
    display: block;
    margin: 0 0 5px;
    line-height: 1.3;
    letter-spacing: .025em;
    color: var(--cg-body);
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input:not([type]),
.contact-form-wrap select,
.contact-form-wrap textarea{
  display:block;
  width:100%;
  border:1px solid rgba(177,148,116,.05);
  border-radius:0;
  background:#fbf8f2;
  color:#3d3935;
  font:inherit;
  font-size:var(--body--fz);
  line-height:1.4;
  box-shadow:none;
  outline:none;
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease,transform .3s cubic-bezier(.16,1,.3,1);
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input:not([type]),
.contact-form-wrap select{height:34px;padding:5px 10px}
.contact-form-wrap textarea{min-height:82px;resize:vertical;padding:8px 10px}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus{
  background:#fff;
  border-color:rgba(198,150,91,.44);
  box-shadow:0 8px 24px rgba(112,87,61,.06);
  transform:translateY(-1px);
}
.contact-form-wrap .form-consent{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:10px 0 14px;
  font-size:var(--body--fz);
  line-height:1.5;
  color:#c19768;
}
.contact-form-wrap .form-consent input[type="checkbox"]{
  appearance:none;
  width:16px;height:16px;
  flex:0 0 16px;
  margin:2px 0 0;
  border:1px solid #c99b64;
  background:transparent;
  position:relative;
  cursor:pointer;
}
.contact-form-wrap .form-consent input[type="checkbox"]:checked::after{
  content:"";
  position:absolute;
  left:4px;top:1px;
  width:5px;height:9px;
  border:solid #b77e3d;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.contact-form-wrap .form-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  width:52%;
  min-width:360px;
}
.contact-form-wrap .btn,
.contact-form-wrap button{
  min-height:38px;
  border:1px solid #cda46f;
  border-radius:0;
  background:#f4f0e7bf;
  color:#706a63;
  font-size:var(--body--fz);
  letter-spacing:.08em;
  cursor:pointer;
  transition:background .3s ease,color .3s ease,transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease;
}
.contact-form-wrap .btn.primary,
.contact-form-wrap button[type="submit"]{background:#d2aa76;color:#fff}
.contact-form-wrap .btn:hover,
.contact-form-wrap button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(133,100,65,.10)}
.contact-form-wrap .btn.primary:hover,
.contact-form-wrap button[type="submit"]:hover{background:#bd8d50}
.contact-form-wrap .chengen-form-message{margin:4px 0 14px;padding:10px 12px;font-size:var(--body--fz);line-height:1.5;background:rgba(255,255,255,.72)}
.contact-form-wrap .chengen-form-message[hidden]{display:none!important}
.contact-form-wrap .chengen-form-message.success{border-left:2px solid #9caa83}
.contact-form-wrap .chengen-form-message.error{border-left:2px solid #bd816e}
.contact-ghost {
    position: absolute;
    left: 1.1%;
    bottom: -15px;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(50px,12vw,140px);
    line-height: .78;
    color: rgba(225,211,194,.30);
}
.contact.is-contact-ready .contact-form-wrap .field{animation:contactFieldIn .72s cubic-bezier(.16,1,.3,1) both}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(1){animation-delay:.06s}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(2){animation-delay:.12s}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(3){animation-delay:.18s}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(4){animation-delay:.24s}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(5){animation-delay:.30s}
.contact.is-contact-ready .contact-form-wrap .field:nth-of-type(6){animation-delay:.36s}
@keyframes contactFieldIn{from{opacity:0;transform:translate3d(28px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.contact-form-wrap select{
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#b08b60 50%),linear-gradient(135deg,#b08b60 50%,transparent 50%);
  background-position:calc(100% - 15px) 14px,calc(100% - 10px) 14px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
  padding-right:34px;
}
.contact-form-wrap .field.is-invalid input,
.contact-form-wrap .field.is-invalid select,
.contact-form-wrap .field.is-invalid textarea{border-color:rgba(176,92,71,.54);box-shadow:0 8px 24px rgba(160,84,63,.08)}
.contact-form-wrap .form-consent.is-invalid{color:#a76555}
@media(max-width:1200px){
  .contact-inner{width:88%;grid-template-columns:40% 53%;gap:7%}
  .contact-form-wrap .form-actions{width:68%;min-width:0}
}
@media(max-width:980px){
	.contact{padding:70px 0}
	.contact-inner{width:90%;grid-template-columns:1fr;gap:48px}
	.contact-copy{padding:0}
	.contact-copy h2{margin-bottom:28px}
	.contact-form-wrap{max-width:none;justify-self:stretch}
	.contact-form-wrap .form-actions{width:100%;max-width:none}
	.contact-ghost {
		position: unset;
		opacity: .48;
		width: 90%;
		margin: 0 auto 15px;
}
}
@media(max-width:640px){
  .contact-form-wrap .form-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.contact.is-contact-ready .contact-form-wrap .field{animation:none}}

/* ===== Process icon asset overrides (verbatim from source HTML) ===== */
.process-icon-wrap img{
  display:block;
  width:90px;
  height:90px;
  object-fit:contain;
  transition:transform .62s var(--ease-reveal),filter .38s var(--ease);
}
.process-step:hover .process-icon-wrap img,
.process-step:focus-visible .process-icon-wrap img{
  transform:scale(1.025);
  filter:brightness(.96) saturate(1.06);
}
@media(max-width:640px){
	.process-icon-wrap img{width:62px;height:62px}
}
