.cs-stats { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.07); }
.cs-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 36px 32px;
  flex-wrap: wrap;
  gap: 24px;
}
.cs-stat { text-align: center; }
.cs-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}
.cs-stat span { font-size: 0.72rem; color: rgba(255,255,255,0.35); font-weight: 500; letter-spacing: 0.5px; }

.portfolio { background: var(--cream); }

.port-card-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.port-card-feature:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.port-card-feature .port-card-img { height: 380px; }
.port-card-feature .port-card-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.port-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.port-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.port-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.port-card-img {
  height: 220px;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  position: relative;
}
.port-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
}
.port-card-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.port-year { font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; }
.port-card-body h2 { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.port-card-body p  { font-size: 0.87rem; color: var(--ink-mid); line-height: 1.6; }

.port-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.port-card-wide .port-card-img { height: 300px; }
.port-card-wide .port-card-body { padding: 40px; justify-content: center; }

.cs-quote {
  background: var(--amber);
  border-radius: var(--r-lg);
  padding: 56px 60px;
  margin: 4px 0;
}
.cs-quote-inner { max-width: 720px; margin: 0 auto; }
.cs-quote-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 32px;
}
.cs-quote-author { display: flex; align-items: center; gap: 14px; }
.cs-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2); color: var(--white); font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-quote-author strong { display: block; font-size: 0.9rem; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.cs-quote-author span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-sub-text { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.75; margin-bottom: 36px; margin-top: 14px; max-width: 440px; }
.philosophy-pillars { display: flex; flex-direction: column; gap: 24px; }
.phil-item { display: flex; gap: 16px; align-items: flex-start; }
.phil-icon { font-size: 1rem; color: var(--amber); margin-top: 3px; flex-shrink: 0; }
.phil-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.phil-item p  { font-size: 0.83rem; color: var(--ink-mid); line-height: 1.6; }

.philosophy-img-stack { position: relative; height: 380px; }
.phil-img-main { position: absolute; width: 85%; height: 80%; top: 0; right: 0; border-radius: var(--r-lg); }
.phil-img-sm   { position: absolute; width: 50%; height: 44%; bottom: 0; left: 0; border-radius: var(--r-lg); z-index: 2; }

@media (max-width: 960px) {
  .port-card-feature { grid-template-columns: 1fr; }
  .port-card-feature .port-card-img { height: 260px; }
  .port-card-feature .port-card-body { padding: 32px; }
  .port-card-wide { grid-template-columns: 1fr; }
  .port-card-wide .port-card-img { height: 220px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-img-stack { display: none; }
}
@media (max-width: 640px) {
  .port-pair { grid-template-columns: 1fr; }
  .cs-quote { padding: 36px 28px; }
  .cs-stats-inner { gap: 28px 40px; justify-content: flex-start; }
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.grid-item img {
  width: 100%;
  border-radius: 12px;
}

.grid-item h4 {
  margin-top: 10px;
  font-family: var(--serif);
}

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

.case {
  margin-bottom: 30px;
}

.case img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

.cases {
  padding: 80px 0;
}

.cases .g-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.case h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.case p {
  font-size: 0.9rem;
  color: #666;
}

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

@media (max-width: 500px) {
  .cases .g-wrap {
    grid-template-columns: 1fr;
  }
}

.cases {
  padding: 30px 0 !important;
  margin: 0 !important;
}

.cases .g-wrap {
  margin-top: 0 !important;
}

.cs-stats {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
}

.philosophy-grid,
.pad-section {
  padding: 120px !important;
}

.portfolio {
  padding: 30px 0;
}

.cases {
  padding: 40px 0;
}


.portfolio {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.cs-stats {
  margin-bottom: 0 !important;
}

.cases {
  margin-top: 20px;  
}

.cases {
  margin-top: -60px;
}

.cases {
  margin-top: 20px;
}

.portfolio,
.philosophy,
.cta {
  padding-top: 60px;
  padding-bottom: 60px;
}