:root {
  --warm-white: #f6f1e8;
  --paper: #fffaf1;
  --limestone: #d8d0c1;
  --ash: #8c877d;
  --charcoal: #181612;
  --soil: #6b513e;
  --clay: #a66e4e;
  --gold: #b79a5b;
  --moss: #4e5d4c;
  --line: rgba(24, 22, 18, 0.16);
  --shadow: 0 24px 80px rgba(34, 28, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 70px);
  color: var(--paper);
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(246, 241, 232, 0.94);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 216px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  font-size: 12px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 0.24s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-cta {
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
}

.section-dark {
  background: var(--charcoal);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 170px clamp(20px, 5vw, 70px) 54px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.96);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.84) 0%, rgba(18, 16, 13, 0.42) 48%, rgba(18, 16, 13, 0.16) 100%),
    linear-gradient(0deg, rgba(18, 16, 13, 0.55) 0%, rgba(18, 16, 13, 0.08) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.92;
  font-weight: 700;
}

.hero h1 [data-hero-title] {
  display: block;
}

.hero h1 [data-hero-subtitle] {
  display: block;
  margin-top: 22px;
  max-width: 760px;
  font-family: "Noto Sans TC", sans-serif;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.22;
  font-weight: 500;
}

.hero-copy {
  max-width: 670px;
  margin: 30px 0 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 17px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--paper);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: #e7d7b6;
}

.btn-secondary {
  border: 1px solid rgba(255, 250, 241, 0.42);
  color: var(--paper);
}

.projects .btn-secondary,
.statement .btn-secondary {
  border-color: var(--line);
  color: var(--charcoal);
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 68px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  background: rgba(255, 250, 241, 0.2);
}

.hero-proof div {
  min-height: 112px;
  padding: 20px;
  background: rgba(24, 22, 18, 0.36);
  backdrop-filter: blur(10px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1;
}

.hero-proof span {
  margin-top: 10px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
}

section {
  padding: 110px clamp(20px, 5vw, 70px);
}

.statement {
  background: var(--paper);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Sans TC", serif;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1.03;
  font-weight: 600;
}

.statement p,
.trust-content p,
.contact-text p {
  margin: 0 0 20px;
  color: rgba(24, 22, 18, 0.72);
  font-size: 17px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 46px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.services {
  background: #e8e1d4;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item span {
  color: var(--clay);
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  line-height: 1;
}

.service-item h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.service-item small {
  display: block;
  margin-top: 8px;
  color: var(--soil);
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
}

.service-item p,
.project-card p,
.process-list p {
  margin: 14px 0 0;
  color: rgba(24, 22, 18, 0.68);
  font-size: 15px;
}

.projects {
  background: var(--warm-white);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  padding: 9px 15px;
}

.filter.is-active {
  background: var(--charcoal);
  color: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--limestone);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
}

.project-type {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.9);
  color: var(--charcoal);
  padding: 6px 12px;
  font-size: 12px;
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.project-body small {
  display: block;
  margin-top: 5px;
  color: var(--soil);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.project-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: rgba(24, 22, 18, 0.68);
  font-size: 12px;
}

.lookbook {
  background: var(--paper);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 0.8fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.lookbook-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--limestone);
}

.lookbook-item:nth-child(1) {
  grid-row: span 2;
}

.lookbook-item:nth-child(4),
.lookbook-item:nth-child(6) {
  grid-column: span 2;
}

.lookbook-item:nth-child(7) {
  grid-row: span 2;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process {
  background: var(--charcoal);
  color: var(--paper);
}

.process .section-heading h2 {
  max-width: 880px;
}

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  border-left: 1px solid rgba(255, 250, 241, 0.18);
}

.process-list li {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
}

.process-list span {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
}

.process-list h3 {
  margin: 42px 0 0;
  font-size: 20px;
}

.process-list p {
  color: rgba(255, 250, 241, 0.68);
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  background: #d9cfbf;
}

.trust-media {
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
}

.trust-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 241, 0.28);
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(24, 22, 18, 0.68);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 36px;
  align-items: end;
  background:
    linear-gradient(rgba(18, 16, 13, 0.84), rgba(18, 16, 13, 0.84)),
    var(--contact-image, url("assets/project-soft-curve.jpg")) center / cover;
}

.contact-text {
  max-width: 760px;
}

.contact-text p {
  color: rgba(255, 250, 241, 0.75);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 70px);
  background: var(--charcoal);
  color: rgba(255, 250, 241, 0.72);
  border-top: 1px solid rgba(255, 250, 241, 0.14);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .service-list,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .trust-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .site-nav {
    position: fixed;
    inset: 70px 16px auto;
    display: grid;
    gap: 4px;
    justify-self: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 16px;
    box-shadow: var(--shadow);
    color: var(--charcoal);
  }

  .site-header.is-open .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 94vh;
    padding: 128px 20px 34px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(18, 16, 13, 0.9) 0%, rgba(18, 16, 13, 0.38) 100%);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-proof div {
    min-height: 86px;
  }

  section {
    padding: 78px 20px;
  }

  .statement-grid,
  .section-heading.split,
  .trust,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    display: grid;
    align-items: start;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 56px;
  }

  .hero h1 [data-hero-subtitle] {
    font-size: 30px;
  }

  .hero-copy,
  .statement p,
  .trust-content p,
  .contact-text p {
    font-size: 16px;
  }

  .service-list,
  .process-list,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .lookbook-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .service-item,
  .process-list li {
    min-height: auto;
  }

  .project-image {
    aspect-ratio: 1 / 1.12;
  }

  .trust-media {
    min-height: 430px;
  }

  .site-footer {
    display: grid;
  }
}
