/* WOW Interior — layout from design mockup */
/* Raster photos: add under public/images/ e.g. kitchen-dining.jpg, hallway.jpg, about-living.jpg, about-bedroom.jpg, services-feature.jpg, contact-ambience.jpg, project gallery shots — then swap .media-block placeholders for <img> or .hero--photo. */

:root {
  --bg: #f2ece4;
  --bg-deep: #e8dfd4;
  --brown: #524741;
  --brown-light: #5c524c;
  --teal: #7c877f;
  --teal-hover: #5d7a7c;
  --white: #ffffff;
  --footer-bg: #2a2420;
  --font-en: "Montserrat", system-ui, sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1200px;
  --header-h: 96px;
  --wow-header: #3b2f2b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  /* Tile on html so it always sits behind body; path is relative to this file (css/ → ../images/) */
  background-color: var(--bg);
  background-image: url("../images/background_orginial.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.5;
  /* Wash over the tiled html background (was too opaque — hid the pattern entirely) */
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(242, 236, 228, 0.50) 0%, rgba(242, 236, 228, 0.66) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: scroll;
}

main {
  background: transparent;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(62, 53, 47, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.site-header:not(.is-scrolled) {
  background: transparent;
}

.site-header__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-mark {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  font-weight: 700;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark--img {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  padding: 0;
}

.site-header:not(.is-scrolled) .logo-mark {
  background: rgba(255, 255, 255, 0.9);
}

.site-header:not(.is-scrolled) .logo-mark--img {
  background: transparent !important;
}

.site-header .logo-mark,
.site-header .logo-mark--img {
  width: 96px;
  height: 96px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.site-header.is-scrolled .nav__links a {
  color: var(--white);
}

.nav__links a:hover {
  opacity: 1;
  color: var(--white);
}

.nav__links a.nav__link--active {
  opacity: 1;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-teal:hover {
  background: var(--teal-hover);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 36, 32, 0.97);
    flex-direction: column;
    padding: 32px 24px 48px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: stretch;
  }

  .nav.nav--open {
    transform: translateX(0);
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav__links a {
    font-size: 1.5rem;
  }

  .nav--wow > .nav__cta {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
  }

  .nav .btn-teal {
    width: 100%;
    margin-top: 16px;
  }
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) clamp(20px, 4vw, 48px) 64px;
  position: relative;
  background-color: #2a2622;
  background-image:
    linear-gradient(105deg, rgba(42, 36, 32, 0.82) 0%, rgba(42, 36, 32, 0.5) 50%, rgba(45, 55, 58, 0.45) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(93, 122, 124, 0.25), transparent 55%),
    linear-gradient(165deg, #35302c 0%, #1e1b19 55%, #252220 100%);
  background-size: cover;
  background-position: center;
}

/* Add class .hero--photo on .hero and set background-image to url("/images/hero.jpg") when the file exists in public/images/. */

.hero__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 20px;
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.hero__sub {
  margin: 0 0 12px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero__sub-zh {
  margin: 0 0 36px;
  font-family: var(--font-zh);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero--index {
  background-image:
    linear-gradient(105deg, rgba(42, 36, 32, 0.78) 0%, rgba(42, 36, 32, 0.45) 50%, rgba(45, 55, 58, 0.4) 100%),
    url("../images/index/banner.jpg");
  background-size: cover;
  background-position: center;
}

.btn-solid-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--wow-header);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-solid-light:hover {
  background: var(--white);
  color: var(--brown);
}

/* —— Sections shared —— */
.section {
  padding: clamp(72px, 12vw, 120px) clamp(20px, 4vw, 48px);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown);
}

.section__title-zh {
  margin: 0 0 24px;
  font-family: var(--font-zh);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--teal);
}

/* —— Intro —— */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.intro-row2 {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 56px);
}

@media (max-width: 900px) {
  .intro-row2 {
    grid-template-columns: 1fr;
  }
}

.media-block {
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px dashed rgba(62, 53, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.media-block--portrait {
  margin-left: auto;
  max-width: 100%;
}

.quote-text {
  font-size: 1.25rem;
  color: var(--brown-light);
  border: none;
  padding: 32px 24px 24px 24px;
  width: 100%;
  text-align: center;
}

.quote-block {
  width: 100%;
  margin: 0;
  padding: 24px 0 12px 0 ;
}

.quote-block::before {
  content: "\201C";
  font-size: 2.5rem;
  color: #000;
  float: left;
  display: block;
}

.quote-block::after {
  content: "\201D";
  font-size: 2.5rem;
  color: #000;
  float: right;
  display: block;
}

/* —— About —— */
.about-layout {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-vertical {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    margin-bottom: 8px;
  }
}

.about-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(2.5rem, 5vw, 2.25rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  white-space: nowrap;
  padding-top: 8px;
}

.about-visual {
  position: relative;
  min-height: 380px;
}

.about-visual__large {
  width: 75%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  border: 1px dashed rgba(62, 53, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brown-light);
}

.about-visual__small-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  z-index: 2;
}

.about-visual__small-wrap .about-visual__small {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
}

.about-visual__small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-deep);
  border: 1px dashed rgba(62, 53, 47, 0.25);
  box-shadow: 0 16px 48px rgba(62, 53, 47, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brown-light);
}

.badge-years {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 6px solid #fff;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--teal);
}

.about-stat i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(93, 122, 124, 0.15);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.about-stat__icon-wrap {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-stat__icon-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.checklist i {
  color: var(--teal);
  margin-top: 4px;
}

/* —— Projects —— */
.projects-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 48px);
}

@media (max-width: 768px) {
  .projects-head {
    grid-template-columns: 1fr;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-card__img {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px dashed rgba(62, 53, 47, 0.2);
  margin-bottom: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brown-light);
}

.project-card__img:not(:has(img)) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
}

.project-card .zh {
  font-family: var(--font-zh);
  font-size: 1.5rem;
  color: var(--brown-light);
  margin: 0 0 12px;
}

.link-arrow {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* —— Services —— */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-top: 48px;
  background-color: rgba(93, 122, 124, 0.1);
  color: var(--teal);
}

@media (max-width: 900px) {
  .services-split {
    grid-template-columns: 1fr;
  }
}

.service-list {
  margin: 0;
  padding: 2rem 1.5rem;
  list-style: none;
}

.service-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
}

.service-item:first-child {
  padding-top: 0;
}

.service-item__icon {
  width: 64px;
  height: 64px;
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.service-item h4 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-item .zh {
  font-family: var(--font-zh);
  font-size: 1.5rem;
  color: var(--brown-light);
  margin: 0 0 8px;
}

.service-item p {
  margin: 0;
  font-size: 1.5rem;
  color: var(--brown-light);
}

.services-title-wrap {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* —— Contact —— */
.contact-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

.contact-info-block {
  margin-bottom: 32px;
}

.contact-line {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-line i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(93, 122, 124, 0.15);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-line strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--brown-light);
}

.contact-form .field {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(62, 53, 47, 0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  color: var(--brown);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(93, 122, 124, 0.45);
  outline-offset: 0;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.contact-form .btn-teal {
  padding: 14px 32px;
  font-size: 0.75rem;
}

.section-heading-line {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.section-heading-line h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brown);
}

.section-heading-line .line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--brown);
  opacity: 0.25;
}

@media (max-width: 600px) {
  .section-heading-line .line {
    display: none;
  }
}

/* —— Footer —— */
.site-footer {
  background-color: var(--footer-bg);
  background-image: url("../images/index/Footerbackground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 32px clamp(20px, 4vw, 48px) 21px;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-footer .logo-mark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer .logo-mark--img {
  background: transparent !important;
  border: none !important;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social span {
  font-size: 1.5rem;
}

.footer-social__label {
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-social a i {
  font-size: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  transition: background 0.2s;
  background: #fff;
  color: #000;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__copy {
  text-align: center;
  padding-top: 18px;
  font-size: 0.75rem;
  opacity: 0.55;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Home teasers —— */
.home-teasers {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 24px);
}

@media (max-width: 900px) {
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}

.teaser-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(62, 53, 47, 0.1);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  color: inherit;
  text-decoration: none;
}

.teaser-card:hover {
  box-shadow: 0 12px 40px rgba(62, 53, 47, 0.08);
  transform: translateY(-2px);
}

.teaser-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.teaser-card h3 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
}

.teaser-card p {
  margin: 0 0 14px;
  font-size: 1.5rem;
  color: var(--brown-light);
  line-height: 1.5;
  flex: 1;
}

.teaser-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* —— Checklist / service icons from design SVGs —— */
.checklist li img.checklist__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 4px;
}

.service-item__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* —— Project detail —— */
.project-detail-head {
  max-width: 720px;
}

.project-detail-head .section__label {
  margin-bottom: 8px;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin: clamp(32px, 5vw, 48px) 0;
}

@media (max-width: 768px) {
  .project-detail-gallery {
    grid-template-columns: 1fr;
  }
}

.project-detail-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.project-detail-section + .project-detail-section {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(62, 53, 47, 0.12);
}

/* Project detail page: full-bleed hero (like projects listing) + intro + slider */
.project-detail-page {
  padding-top: 0;
  padding-bottom: clamp(48px, 10vw, 88px);
}

.project-detail-hero {
  position: relative;
  min-height: min(70vh, 640px);
  width: 100%;
}

.project-detail-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #2f2a26;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.project-detail-view[hidden] {
  display: none !important;
}

.project-detail-intro {
  text-align: center;
  padding-top: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(20px, 4vw, 32px);
}

.project-detail-title {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.project-detail-tagline {
  margin: 0;
  font-family: var(--font-zh);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--brown-light);
  line-height: 1.55;
}

.project-detail-slider {
  max-width: var(--max);
  margin: 0 auto;
}

.project-detail-slider__frame {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: clamp(20px, 4vw, 28px);
}

.project-detail-slider__nav {
  flex-shrink: 0;
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  border: none;
  border-radius: 50%;
  background: rgba(93, 122, 124, 0.14);
  color: var(--teal);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  transition: background 0.2s ease, color 0.2s ease;
}

.project-detail-slider__nav:hover {
  background: rgba(93, 122, 124, 0.28);
  color: var(--teal-hover);
}

.project-detail-slider__stage-wrap {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 12px 40px rgba(62, 53, 47, 0.12);
  position: relative;
}

/* Absolute fill so object-fit applies inside a fixed box; avoids a frame where intrinsic photo size wins before CSS crop. */
.project-detail-slider__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-detail-slider__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: clamp(10px, 2vw, 16px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-detail-slider__thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-deep);
  aspect-ratio: 4 / 3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-detail-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail-slider__thumb:hover {
  border-color: rgba(93, 122, 124, 0.35);
}

.project-detail-slider__thumb.is-active {
  border-color: var(--teal);
  box-shadow: 0 6px 20px rgba(93, 122, 124, 0.25);
}

@media (max-width: 560px) {
  .project-detail-slider__frame {
    gap: 6px;
  }

  .project-detail-slider__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact bg: height = viewport, width = auto from aspect ratio — avoids 100vw + auto growing huge on wide resize. */
html.page-contact-root {
  background-color: var(--bg);
  background-image: url("../images/contact_us/background.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-attachment: scroll;
  overflow-x: hidden;
}

body.page-contact {
  --wow-panel: #ebe6df;
  --wow-panel-border: rgba(59, 47, 43, 0.12);
  /* No site-wide body gradient overlay — show contact photo clearly */
  background-image: none;
  background-color: transparent;
}

body.page-contact .site-header.site-header--wow,
body.page-wow-inner .site-header.site-header--wow {
  background: var(--wow-header) !important;
  box-shadow: none;
}

body.page-contact .site-header.site-header--wow.is-scrolled,
body.page-contact .site-header.site-header--wow:not(.is-scrolled),
body.page-wow-inner .site-header.site-header--wow.is-scrolled,
body.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) {
  background: var(--wow-header) !important;
}

body.page-about.page-wow-inner .site-header.site-header--wow:not(.is-scrolled),
body.page-services.page-wow-inner .site-header.site-header--wow:not(.is-scrolled),
body.page-projects.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) {
  background: transparent !important;
  box-shadow: none;
}

body.page-about.page-wow-inner .site-header.site-header--wow.is-scrolled,
body.page-services.page-wow-inner .site-header.site-header--wow.is-scrolled,
body.page-projects.page-wow-inner .site-header.site-header--wow.is-scrolled {
  background: var(--wow-header) !important;
  box-shadow: none;
}

body.page-home .site-header.site-header--wow.is-scrolled { 
  
  background-color: #534741; 
  display: flex;
  justify-content: center;
  box-shadow: none;
}

.site-header__inner--wow {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.logo-block__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.logo-block__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.logo-block__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.85;
}

.logo-block--footer .logo-block__title {
  font-size: 0.75rem;
}

.logo-block--footer .logo-mark {
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
}

.logo-block--footer .logo-mark--img {
  width: 128px;
  height: 128px;
}

body.page-contact .site-header--wow .logo-mark,
body.page-wow-inner .site-header--wow .logo-mark,
body.page-home .site-header--wow.is-scrolled .logo-mark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--wow-header);
  border: none;
}

body.page-contact .site-header--wow .logo-mark--img,
body.page-wow-inner .site-header--wow .logo-mark--img,
body.page-home .site-header--wow.is-scrolled .logo-mark--img {
  background: transparent !important;
}

body.page-about.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark,
body.page-services.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark,
body.page-projects.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown);
}

body.page-about.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark--img,
body.page-services.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark--img,
body.page-projects.page-wow-inner .site-header.site-header--wow:not(.is-scrolled) .logo-mark--img {
  background: transparent !important;
}

.nav--wow {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  flex-wrap: nowrap;
  min-width: 0;
}

.nav--wow .nav__links--wow {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav__links--wow {
  gap: clamp(10px, 2vw, 28px);
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 1100px) {
  .nav--wow .nav__links--wow {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 10px;
  }
}

.nav__links--wow a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
  border-bottom: none;
  padding-bottom: 0;
}

.nav__links--wow a:hover {
  opacity: 0.85;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
  box-sizing: border-box;
  vertical-align: middle;
  color: #fff;
}

.nav__cta--active {
  background: rgba(200, 190, 180, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav__link--active-wow {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.site-header--wow .nav .btn-teal {
  display: none;
}

@media (max-width: 992px) {
  .logo-block__tagline {
    display: none;
  }
  .site-header__inner--wow {
    flex-wrap: wrap;
  }
}

/* Shared contact section (index home-contact + contact.html) */
.home-contact {
  border-top: 1px solid rgba(62, 53, 47, 0.08);
  padding-left: 0;
  padding-right: 0;
}

.home-contact__title-wrap {
  padding-bottom: 24px;
}

.home-contact__heading-title {
  color: var(--teal);
}

body.page-home .home-contact .section__title.home-contact__heading-title {
  color: var(--teal);
}

.home-contact__inner {
  display: grid;
  grid-template-columns: minmax(140px, 0.26fr) minmax(0, 1fr);
  align-items: start;
}

@media (max-width: 900px) {
  .home-contact__inner {
    grid-template-columns: 1fr;
  }

  .home-contact__visual {
    min-height: min(56vw, 320px);
  }

  .home-contact__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Visual column height on desktop is synced to panel via JS (ResizeObserver); img fills box */
.home-contact__visual {
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.home-contact__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-contact__panel {
  max-width: 720px;
  padding: clamp(32px, 5vw, 48px);
}

.contact-contact__panel{
  max-width: 720px;
  background: var(--wow-panel);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 40%);
  border: 1px solid var(--wow-panel-border);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(59, 47, 43, 0.18);
  padding: clamp(32px, 5vw, 48px);
}

.home-contact__info {
  margin-bottom: clamp(20px, 3vw, 28px);
  padding-bottom: clamp(18px, 3vw, 24px);
  border-bottom: 1px solid rgba(59, 47, 43, 0.12);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 3vw, 28px);
  row-gap: clamp(14px, 2.5vw, 20px);
}

.home-contact__info > .contact-panel__line:first-child {
  grid-column: 1 / -1;
}

.home-contact__info > .contact-panel__line:nth-child(2),
.home-contact__info > .contact-panel__line:nth-child(3) {
  grid-column: span 12;
}

.home-contact__info .contact-panel__line {
  flex: none;
}

@media (max-width: 640px) {
  .home-contact__info > .contact-panel__line:nth-child(2),
  .home-contact__info > .contact-panel__line:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* Contact page only: no side image; panel uses full section__inner width (--max) */
.home-contact__inner--panel-only {
  max-width: 720px;
  grid-template-columns: 1fr;
}

.home-contact__info.home-contact__info--after-form {
  margin-top: clamp(20px, 3vw, 28px);
  margin-bottom: 0;
  padding-top: clamp(18px, 3vw, 24px);
  padding-bottom: 0;
  border-top: 1px solid rgba(59, 47, 43, 0.12);
  border-bottom: none;
}

/* Contact page (contact.html) — top spacing, heading scale, unified text color */
body.page-contact .home-contact {
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 112px));
}

body.page-contact .home-contact__title-wrap {
  padding-bottom: clamp(28px, 4vw, 40px);
}

body.page-contact .home-contact__heading-title,
body.page-contact .home-contact .section__title.home-contact__heading-title {
  color: var(--brown);
}

@media (min-width: 992px) {
  body.page-contact .home-contact__heading-title {
    font-size: 2.5rem;
  }
}

body.page-contact .contact-form--wow .field--labeled label,
body.page-contact .contact-form--wow input,
body.page-contact .contact-form--wow textarea,
body.page-contact .contact-panel__line p,
body.page-contact .contact-panel__line a,
body.page-contact .btn-send {
  color: var(--brown);
}

.contact-form--wow .field--labeled {
  background: white;
  padding: 8px;
}

.contact-form--wow .field--labeled label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px;
}

.contact-form--wow input,
.contact-form--wow textarea {
  width: 100%;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--brown);
  border: none;
  padding: 4px;
}

.contact-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .contact-form__row--2 {
    grid-template-columns: 1fr;
  }
}

.contact-form--wow .contact-form__actions {
  margin-top: 8px;
}

.btn-send {
  padding: 12px 36px;
  background: #fff;
  border: 1px solid rgba(59, 47, 43, 0.2);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  cursor: pointer;
  border-radius: 2px;
}

.btn-send:hover {
  background: rgba(255, 255, 255, 0.9);
}

.contact-panel__line {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1 200px;
  min-width: 0;
}

.contact-panel__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 1.5rem;
}

.contact-panel__icon img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: contain;
}

.contact-panel__line p {
  padding-left: 24px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--teal);
}

.contact-panel__line a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer--wow {
  padding: 11px clamp(20px, 4vw, 48px);
}

.site-footer--wow .logo-mark {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer--wow .logo-mark--img {
  background: transparent !important;
  border: none !important;
}

.site-footer--wow .logo-block__title {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__back--project-detail {
  display: none;
  text-align: center;
  margin: 0;
  padding-top: 8px;
}

body.page-project-detail .site-footer__back--project-detail {
  display: block;
}

.site-footer__back--project-detail .link-arrow {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__back--project-detail .link-arrow:hover {
  color: #fff;
}

.site-footer__copy--wow {
  text-align: center;
  padding-top: 16px;
  font-size: 0.75rem;
  opacity: 0.9;
}

body.page-project-detail .site-footer__copy--wow {
  padding-top: 8px;
}

/* —— About page (about_us.jpg) —— */
.title-slash {
  font-weight: 500;
  opacity: 0.85;
  margin: 0 0.15em;
}

.about-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + clamp(32px, 8vw, 72px)) clamp(20px, 4vw, 48px) clamp(40px, 7vw, 72px);
  color: var(--white);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #2a2622;
  background-image:
    linear-gradient(105deg, rgba(42, 36, 32, 0.75) 0%, rgba(42, 36, 32, 0.35) 55%, rgba(42, 36, 32, 0.5) 100%),
    url("../images/about_us/about_us_img1.jpg");
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.about-hero__kicker {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.about-hero__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.about-hero__sep {
  font-weight: 500;
  opacity: 0.9;
}

.about-detail {
  padding-top: clamp(56px, 10vw, 96px);
}

.about-visual__badges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 clamp(8px, 2vw, 16px);
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.about-badge {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.about-badge--center {
  width: clamp(108px, 22vw, 132px);
  height: clamp(108px, 22vw, 132px);
  background: var(--wow-header);
  color: var(--white);
  font-size: 0.5rem;
  flex-shrink: 0;
  transform: translateY(-12px);
}

.about-badge--side {
  width: clamp(76px, 16vw, 92px);
  height: clamp(76px, 16vw, 92px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brown);
  font-size: 0.5rem;
  padding: 6px;
  border: 1px solid rgba(62, 53, 47, 0.1);
}

.about-badge__icon-wrap {
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.about-badge__icon-wrap img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.about-badge__text {
  display: block;
}

.about-detail__quote::before {
  content: "\201C";
  font-size: 2.25rem;
  line-height: 0;
  color: var(--teal);
  opacity: 0.55;
  display: block;
  margin-bottom: 6px;
}

.about-detail__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.about-detail__checklist li {
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .about-detail__checklist {
    grid-template-columns: 1fr;
  }

  .about-visual__badges {
    flex-wrap: wrap;
    justify-content: center;
    bottom: 4%;
    gap: 12px;
  }

  .about-badge--center {
    order: -1;
    width: 100%;
    max-width: 132px;
    transform: none;
  }
}

.about-healing {
  background: var(--wow-header);
  color: rgba(255, 255, 255, 0.95);
  padding: clamp(48px, 8vw, 80px) clamp(20px, 4vw, 48px);
}

.about-healing__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .about-healing__inner {
    grid-template-columns: 1fr;
  }
}

.about-healing__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-healing__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}

.about-healing__title.scroll-reveal-title--lines .scroll-reveal-line {
  text-align: center;
}

.about-healing__zh {
  margin: 0;
  font-family: var(--font-zh);
  font-size: 1.5rem;
  line-height: 1.75;
  opacity: 0.9;
  max-width: 36ch;
  text-align: center;
  margin-inline: auto;
}

.about-healing__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 20px);
}

.about-healing__shot {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.about-pillars {
  padding-bottom: clamp(64px, 12vw, 120px);
}

.about-pillars__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 52px) clamp(24px, 4vw, 48px);
}

@media (max-width: 640px) {
  .about-pillars__grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 36px);
  }
}

.about-pillar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 22px);
  text-align: left;
}

.about-pillar__icon {
  flex-shrink: 0;
  width: clamp(76px, 12vw, 104px);
  height: clamp(76px, 12vw, 104px);
  margin: 0;
  background: none;
  display: block;
}

.about-pillar__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-pillar__copy {
  min-width: 0;
  flex: 1;
}

.about-pillar__title {
  margin: 0 0 10px;
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--teal);
  line-height: 1.3;
}

.about-pillar__zh {
  margin: 0;
  font-family: var(--font-zh);
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--brown-light);
  text-align: left;
}

/* —— Services page (our_service.jpg) —— */
.services-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + clamp(40px, 10vw, 88px)) clamp(20px, 4vw, 48px) clamp(48px, 10vw, 96px);
  color: var(--white);
}

.services-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #3a342f;
  background-image:
    linear-gradient(180deg, rgba(42, 36, 32, 0.55) 0%, rgba(42, 36, 32, 0.45) 100%),
    url("../images/our_service/service_image_1.jpg");
  background-size: cover;
  background-position: center 20%;
  filter: saturate(0.95);
  z-index: 0; 
}

.services-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.services-hero__title {
  margin: 0 0 clamp(20px, 4vw, 32px);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
}

.services-hero__copy {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  line-height: 2;
  opacity: 0.96;
}

.services-hero__copy p {
  margin: 0 0 1em;
}

.services-hero__copy p:last-child {
  margin-bottom: 0;
}

.services-stagger-wrap {
  padding-top: clamp(64px, 12vw, 112px);
  padding-bottom: clamp(48px, 10vw, 96px);
}

/* Services: 12-col bands — row A: 1 EN + 5 img + 6 blank | row B: 6 EN + 5 img + 1 blank */
.services-stagger {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service-tile {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  align-items: end;
  width: 100%;
  max-width: 100%;
}

/* Band A: col 1 = EN, cols 2–6 = image (5), cols 7–12 = empty */
.service-tile--band-a .service-tile__label {
  grid-column: 1 / 2;
}

.service-tile--band-a .service-tile__media {
  grid-column: 2 / 7;
}

/* Band B: cols 1–6 = EN, cols 7–11 = image (5), col 12 = empty */
.service-tile--band-b .service-tile__label {
  grid-column: 1 / 7;
}

.service-tile--band-b .service-tile__media {
  grid-column: 7 / 12;
}

.service-tile__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: end;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 2.2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.service-tile__media {
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid rgba(62, 53, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 46px rgba(62, 53, 47, 0.14);
}

.service-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-tile__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 18, 0.2);
  z-index: 1;
  pointer-events: none;
}

.service-tile__zh {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-zh);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .service-tile {
    grid-template-columns: 1fr;
    row-gap: 14px;
    align-items: stretch;
  }

  .service-tile--band-a .service-tile__label,
  .service-tile--band-b .service-tile__label {
    grid-column: 1 / -1;
    writing-mode: horizontal-tb;
    transform: none;
    justify-self: end;
    width: 100%;
    max-width: 100%;
    justify-content: flex-end;
    text-align: right;
    padding: 0;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    letter-spacing: 0.1em;
  }

  .service-tile--band-a .service-tile__media,
  .service-tile--band-b .service-tile__media {
    grid-column: 1 / -1;
  }
}

.services-cta {
  position: relative;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(56px, 12vw, 100px) clamp(20px, 4vw, 48px);
  color: var(--white);
}

.services-cta__bg {
  position: absolute;
  inset: 0;
  background-color: #2c2623;
  background-image:
    linear-gradient(180deg, rgba(42, 36, 32, 0.65) 0%, rgba(42, 36, 32, 0.5) 100%),
    url("../images/our_service/service_image_7.jpg");
  background-size: cover;
  background-position: center 85%;
  z-index: 0;
}

.services-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.services-cta__title {
  margin: 0 0 clamp(28px, 5vw, 40px);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.5;
}

.services-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.services-cta__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* —— Projects listing (our_project.jpg) —— */
.projects-hero {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + clamp(36px, 10vw, 80px)) clamp(20px, 4vw, 48px) clamp(48px, 10vw, 88px);
  color: var(--white);
}

.projects-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #2f2a26;
  background-image:
    linear-gradient(90deg, rgba(42, 36, 32, 0.82) 0%, rgba(42, 36, 32, 0.35) 55%, rgba(42, 36, 32, 0.45) 100%),
    url("../images/our_project/project_image_1.jpg");
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}

.projects-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.projects-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.projects-hero__tagline {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.5rem, 2.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
}

.projects-catalog {
  padding-top: clamp(56px, 10vw, 96px);
  padding-bottom: clamp(48px, 10vw, 88px);
}

.projects-catalog__heading {
  margin: 0 0 clamp(36px, 6vw, 52px);
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
}

.project-grid--catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(80px, 11vw, 112px) clamp(64px, 9vw, 96px);
}

@media (max-width: 560px) {
  .project-grid--catalog {
    grid-template-columns: 1fr;
  }
}

.project-card--catalog {
  margin: 0;
}

.project-card--catalog .project-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: transform 0.25s ease;
}

.project-card--catalog .project-card__link:hover {
  transform: translateY(-3px);
}

.project-card--catalog .project-card__img {
  border: none;
  border-radius: 18px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  aspect-ratio: 16 / 11;
  box-shadow: 0 12px 36px rgba(62, 53, 47, 0.12);
  transition: box-shadow 0.25s ease;
}

.project-card--catalog .project-card__link:hover .project-card__img {
  box-shadow: 0 18px 48px rgba(62, 53, 47, 0.16);
}

.project-card--catalog .project-card__name {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
}

.project-card--catalog .project-card__meta {
  margin: 0;
  font-family: var(--font-zh);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--brown-light);
}

/* —— Design comp link (reference only, not embedded) —— */
.design-ref-note {
  font-size: 0.75rem;
  color: var(--brown-light);
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 8vw, 80px);
  line-height: 1.5;
}

.design-ref-note a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.design-ref-note a:hover {
  color: var(--teal-hover);
}

/* —— Page home (index.jpg) —— */
body.page-home .home-intro__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

body.page-home .home-intro__pullquote {
  margin-top: 24px;
  padding-top: 0;
  text-align:center;
}

body.page-home .home-intro__photo-tall {
  margin-top: clamp(20px, 3vw, 32px);
  margin-left: 0;
}

@media (max-width: 900px) {
  body.page-home .home-intro__grid {
    grid-template-columns: 1fr;
  }
}

:is(body.page-home, body.page-about) .home-about {
  border-top: 1px solid rgba(62, 53, 47, 0.06);
  border-bottom: 1px solid rgba(62, 53, 47, 0.06);
}

:is(body.page-home, body.page-about) .home-about__layout {
  align-items: stretch;
}

:is(body.page-home, body.page-about) .home-about__vertical {
  align-self: start;
  justify-self: stretch;
  width: 100%;
  text-align: right;
  padding-top: 0;
}

:is(body.page-home, body.page-about) .home-about__visual-photos {
  position: relative;
  min-height: clamp(280px, 38vw, 400px);
  overflow: visible;
}

:is(body.page-home, body.page-about) .home-about__visual-photos .home-about__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(128px, 20vw, 172px);
  height: clamp(128px, 20vw, 172px);
  font-size: 0.5rem;
  line-height: 1.2;
  z-index: 3;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

:is(body.page-home, body.page-about) .home-about__badge-num {
  display: block;
  font-size: 3em;
  line-height: 1;
  margin: 0 0 0.2em;
}

:is(body.page-home, body.page-about) .home-about__badge-text {
  display: block;
  font-size: 2em;
  line-height: 1.25;
}

:is(body.page-home, body.page-about) .home-about__visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 100%;
  height: 100%;
}

:is(body.page-home, body.page-about) .home-about__visual-stack {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  z-index: 2;
  overflow: visible;
}

:is(body.page-home, body.page-about) .home-about__visual-stack .about-visual__small {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
}

:is(body.page-home, body.page-about) .home-about__visual .about-visual__large,
:is(body.page-home, body.page-about) .home-about__visual .about-visual__small {
  border-radius: 12px;
}

:is(body.page-home, body.page-about) .home-about__visual .about-visual__large {
  box-shadow: 0 22px 56px rgba(62, 53, 47, 0.14);
}

:is(body.page-home, body.page-about) .home-about__visual .about-visual__small {
  box-shadow: 0 18px 44px rgba(62, 53, 47, 0.16);
}

:is(body.page-home, body.page-about) .home-about__visual .about-visual__small-wrap,
:is(body.page-home, body.page-about) .home-about__visual-stack {
  overflow: visible;
}

:is(body.page-home, body.page-about) .home-about__stats {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 22px);
  margin: 0;
  margin-top: auto;
  padding: clamp(20px, 3vw, 32px) 0 0;
  flex-shrink: 0;
  z-index: auto;
}

@media (max-width: 992px) {
  :is(body.page-home, body.page-about) .home-about__visual {
    min-height: 0;
    height: auto;
  }

  :is(body.page-home, body.page-about) .home-about__stats {
    margin-top: clamp(20px, 4vw, 32px);
  }
}

:is(body.page-home, body.page-about) .home-about__stats .about-stat {
  width: 100%;
  max-width: 100%;
}

:is(body.page-home, body.page-about) .home-about__stats h1 {
  margin: 0;
  padding: 0;
}

:is(body.page-home, body.page-about) .home-about__textcol {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

:is(body.page-home, body.page-about) .home-about__texthead .section__title {
  line-height: 1.25;
  font-weight: 700;
}

:is(body.page-home, body.page-about) .home-about__texthead .title-slash {
  margin: 0 0.12em;
  font-weight: 400;
  opacity: 0.85;
}

:is(body.page-home, body.page-about) .home-about__texthead .section__title-zh {
  margin-top: 12px;
  max-width: 28em;
  line-height: 1.75;
  color: var(--teal);
}

:is(body.page-home, body.page-about) .home-about__quote {
  flex: 1 1 auto;
  margin: 0 0 clamp(20px, 4vw, 32px);
  padding: clamp(12px, 2vw, 20px) 0 clamp(12px, 2vw, 20px) 16px;
  border-left: 3px solid rgba(93, 122, 124, 0.45);
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--brown-light);
  quotes: none;
}

:is(body.page-home, body.page-about) .home-about__quote::before,
:is(body.page-home, body.page-about) .home-about__quote::after {
  content: none;
  display: none;
}

:is(body.page-home, body.page-about) .home-about__checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(16px, 2.5vw, 28px);
  margin-top: 24px;
  color: var(--teal);
}

:is(body.page-home, body.page-about) .home-about__checklist li {
  margin-bottom: 4px;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
}

:is(body.page-home, body.page-about) .home-about__checklist .checklist__mark {
  flex-shrink: 0;
  font-weight: 600;
  line-height: 1.4;
}

:is(body.page-home, body.page-about) .home-about__checklist li strong {
  font-family: var(--font-zh);
  font-weight: 700;
}

:is(body.page-home, body.page-about) .home-about__checklist .checklist__icon {
  margin-top: 0;
}

@media (max-width: 900px) {
  :is(body.page-home, body.page-about) .home-about__checklist li {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  :is(body.page-home, body.page-about) .home-about__checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
}

@media (max-width: 640px) {
  :is(body.page-home, body.page-about) .home-about__checklist {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
}

:is(body.page-home, body.page-about) .home-about__more {
  margin-top: clamp(20px, 3vw, 28px);
}

body.page-home .home-projects__inner {
  position: relative;
}

body.page-home .home-projects__intro {
  position: relative;
  margin-bottom: clamp(32px, 5vw, 48px);
}

body.page-home .home-projects__quote--aside {
  text-align: text-center;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--brown-light);
  padding: 4px 0 8px 18px;
}

body.page-home .home-projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

body.page-home .home-projects__head {
  border: none;
}

body.page-home .home-projects__head .section__title,
body.page-home .home-projects__head .section__title-zh {
  color: var(--teal);
}

body.page-home .home-projects__title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
}

body.page-home .home-projects__sub {
  margin: 0;
}

@media (max-width: 768px) {
  body.page-home .home-projects__intro {
    min-height: 0;
  }

  body.page-home .home-projects__quote--aside {
    position: static;
    max-width: none;
    border-left: none;
    padding: 0 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(62, 53, 47, 0.1);
    text-align: center;
  }

  body.page-home .home-projects__head {
    padding-left: 0;
    padding-right: 0;
  }
}

body.page-home .home-projects__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

body.page-home .home-projects__arrow {
  font-size: 2.75rem;
  font-weight: 300;
  color: rgba(62, 53, 47, 0.22);
  line-height: 1;
  user-select: none;
}

body.page-home .home-projects__grid {
  min-width: 0;
}

body.page-home .project-card--home .project-card__img {
  border-radius: 14px;
  border: 1px solid rgba(62, 53, 47, 0.07);
  box-shadow: 0 18px 46px rgba(62, 53, 47, 0.11);
  margin-bottom: 18px;
}

body.page-home .project-card--home h3 {
  margin-bottom: 8px;
}

body.page-home .project-card--home .project-card__line {
  margin-bottom: 14px;
  line-height: 1.5;
}

body.page-home .home-projects__footer-link {
  margin-top: clamp(28px, 4vw, 40px);
}

@media (max-width: 768px) {
  body.page-home .home-projects__arrow {
    display: none;
  }

  body.page-home .home-projects__row {
    grid-template-columns: 1fr;
  }
}

.home-service {
  padding-left: 0;
  padding-right: 0;
}

body.page-home .home-service__quote {
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

body.page-home .home-service .services-split {
  margin-top: 40px;
}

body.page-home .home-service .service-item {
  grid-template-columns: 96px 1fr;
  align-items: center;
}

body.page-home .home-service .service-item__icon {
  width: 96px;
  height: 96px;
}

body.page-home .home-service .service-item__icon img {
  width: 96px;
  height: 96px;
}

body.page-home .home-service__more {
  margin-top: 36px;
}

.home-contact__full {
  margin-top: 20px;
  text-align: center;
}

/* —— Scroll reveal: section titles (ref. Eugene Group scroll-in text) —— */
.scroll-reveal-title {
  overflow: hidden;
}

.scroll-reveal-title:not(.scroll-reveal-title--lines) {
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal-title.is-visible:not(.scroll-reveal-title--lines) {
  opacity: 1;
  transform: none;
}

.scroll-reveal-title--lines .scroll-reveal-line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.08s + var(--reveal-i, 0) * 0.14s);
  will-change: opacity, transform;
}

.scroll-reveal-title--lines.is-visible .scroll-reveal-line {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-title:not(.scroll-reveal-title--lines),
  .scroll-reveal-title--lines .scroll-reveal-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

