/* ═══════════════════════════════════════════════════════
   SECTIONS — PHILOSOPHY · CAPABILITIES · PROJECTS · CTA
═══════════════════════════════════════════════════════ */

/* ═══ PHILOSOPHY SECTION ═══ */
.philosophy-section { background: transparent; position: relative; }

.philosophy-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 140px); align-items: center;
}

.philosophy-image-col {
  position: relative;
}
.philosophy-img-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
}
.philosophy-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.8s var(--ease-expo);
}
.philosophy-image-col.is-visible .philosophy-img-frame img { transform: scale(1); }

.philosophy-image-col.is-visible .philosophy-img-frame::before { transform: scaleY(0); }

.philosophy-img-tag {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  background: rgba(8,8,7,0.7); backdrop-filter: blur(8px);
  padding: 8px 16px; color: rgba(247,245,240,0.8);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.6s 1.4s, transform 0.6s 1.4s var(--ease-expo);
}
.philosophy-image-col.is-visible .philosophy-img-tag { opacity: 1; transform: translateY(0); }

.philosophy-text-col {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s 0.3s var(--ease-expo), transform 1s 0.3s var(--ease-expo);
}
.philosophy-text-col.is-visible { opacity: 1; transform: translateY(0); }

.philosophy-title {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02; margin-bottom: 36px;
  overflow: hidden;
}
.philosophy-title .reveal-line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.philosophy-text-col.is-visible .philosophy-title .reveal-line:nth-child(1) { transform: translateY(0); transition-delay: 0.1s; }
.philosophy-text-col.is-visible .philosophy-title .reveal-line:nth-child(2) { transform: translateY(0); transition-delay: 0.22s; }

.philosophy-quote {
  font-family: var(--font-accent); font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic; font-weight: 300; line-height: 1.5;
  color: var(--accent); border-left: 2px solid var(--accent);
  padding-left: 24px; margin-bottom: 32px;
}

.philosophy-body {
  font-size: clamp(15px, 1.4vw, 17px); color: var(--text-secondary);
  line-height: 1.8; font-weight: 300; margin-bottom: 48px;
}

.philosophy-stats {
  display: flex; align-items: center; gap: 32px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-block { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-serif); font-size: clamp(40px, 5vw, 60px);
  color: var(--accent); line-height: 1; display: inline;
}
.stat-suffix { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); color: var(--accent); display: inline; }
.stat-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.stat-divider { width: 1px; height: 64px; background: var(--border); flex-shrink: 0; }

/* ═══ CAPABILITIES / SERVICES ═══ */
.capabilities-section { padding-bottom: clamp(80px, 12vw, 160px); }

.capabilities-header {
  max-width: 800px; margin-bottom: clamp(60px, 8vw, 120px);
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.capabilities-header.is-visible { opacity: 1; transform: translateY(0); }

.capabilities-title {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 1.1; overflow: visible;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.capabilities-title .reveal-line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.capabilities-header.is-visible .capabilities-title .reveal-line:nth-child(1) { transform: translateY(0); transition-delay: 0.15s; }
.capabilities-header.is-visible .capabilities-title .reveal-line:nth-child(2) { transform: translateY(0); transition-delay: 0.28s; }

/* Services List */
.services-list {
  border-top: 1px solid rgba(247,245,240,0.1);
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s 0.2s var(--ease-expo), transform 0.8s 0.2s var(--ease-expo);
}
.services-list.is-visible { opacity: 1; transform: translateY(0); }

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 200px 48px;
  gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(247,245,240,0.1);
  cursor: none;
  transition: background 0.5s;
  position: relative; overflow: hidden;
}
.service-item::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(61,77,53,0.08);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-expo);
  z-index: 0;
}
.service-item:hover::before { transform: scaleY(1); }

/* ═══ SYSTEMS SECTION: STABLE LAYOUT ARCHITECTURE ═══ */
.capabilities-section {
  position: relative; 
  padding: 80px var(--pad-x);
  background: transparent;
  transition: all 0.8s var(--ease-expo);
}
.capabilities-section::before {
  display: none;
}
@keyframes ambientGlow { from { transform: translate(0,0); } to { transform: translate(-5%, 5%); } }

.capabilities-section.explorer-active {
  padding-top: 60px;
}

.capabilities-header {
  transition: all 0.8s var(--ease-expo);
  margin-bottom: 50px;
}
.capabilities-title {
  font-size: clamp(42px, 5vw, 68px);
}
.explorer-active .capabilities-header {
  transform: scale(0.65) translateY(-20px);
  opacity: 0.5;
  margin-bottom: 40px;
}

.services-list {
  transition: opacity 0.5s var(--ease-expo), transform 0.5s var(--ease-expo), max-height 0.8s var(--ease-expo);
  opacity: 1; max-height: 2000px; transform: translateY(0);
}
.explorer-active .services-list {
  opacity: 0; max-height: 0; transform: translateY(20px); overflow: hidden; margin: 0;
}

/* ═══ SYSTEMS EXPLORER: SUBTLE STORYTELLING ═══ */
.showcase-explorer {
  opacity: 0; max-height: 0; overflow: hidden;
  transition: all 1.2s var(--ease-cinemtic);
  background: var(--bg-dark);
  position: relative;
}
.explorer-active .showcase-explorer {
  opacity: 1; max-height: 4000px; padding: 140px 0;
}
.explorer-close {
  position: absolute;
  top: 60px;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
  z-index: 100;
}
.explorer-close:hover {
  opacity: 1;
  color: var(--accent);
}

/* Quiet Atmospheric Shifts Removed to prevent grey contamination */
.capabilities-section::after {
  display: none;
}

.explorer-layout {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 120px;
  align-items: flex-start; position: relative; z-index: 2;
  max-width: 1500px; margin: 0 auto; padding: 0 var(--pad-x);
}

.explorer-technical { padding-top: 40px; position: sticky; top: 120px; }
.technical-header h2 { font-size: clamp(40px, 5.5vw, 76px); letter-spacing: -0.04em; margin-bottom: 32px; color: var(--text-light); }
.technical-header p { font-size: 17px; line-height: 1.7; opacity: 0.45; max-width: 380px; margin-bottom: 80px; font-weight: 300; }

.technical-grid { display: flex; flex-direction: column; gap: 48px; }
.tech-item {
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.8s var(--ease-cinemtic);
}
.tech-label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.3; }
.tech-value { font-size: 28px; font-weight: 200; color: var(--accent); opacity: 0.8; }

.explorer-visual { position: relative; }
.visual-main-frame {
  position: relative; aspect-ratio: 16/10; 
  background: rgba(255,255,255,0.01);
}
.visual-main-frame img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: brightness(0.7) contrast(1.05);
  mask-image: radial-gradient(circle, black 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 75%, transparent 100%);
}

/* SUBTLE ENVIRONMENTAL REINFORCEMENT */
.visual-overlay-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }

/* Thin Airflow Traces */
.air-simulation {
  fill: none; stroke: rgba(255,255,255,0.25);
  stroke-dasharray: 1 100; animation: traceFlow 4s linear infinite;
}
@keyframes traceFlow { 
  0% { stroke-dashoffset: 200; opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Quiet Radiance Removed */
.solar-radiance {
  display: none;
}
.thermal-glow {
  display: none;
}

.visual-annotations { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.anno-item {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(10px);
  transition: all 1.2s var(--ease-cinemtic);
}
.explorer-active .anno-item { opacity: 0.6; transform: translateY(0); }

.anno-dot { 
  width: 4px; height: 4px; background: var(--accent); border-radius: 50%; 
  box-shadow: 0 0 15px var(--accent);
}
.anno-text { font-size: 9px; color: white; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5; }


/* ═══ FOOTER: ARCHITECTURAL RESTRAINT ═══ */
.footer {
  position: relative; overflow: hidden;
  padding: 100px 0 60px;
  background: var(--bg-darker); /* Stable, solid near-black base */
  border-top: 1px solid rgba(255,255,255,0.03); /* Clean boundary line */
}

.footer-atmosphere {
  display: none;
}

.footer-ghost-branding {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(20%);
  font-family: var(--font-primary);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 800;
  color: rgba(255,255,255,0.015); /* Ultra-low opacity */
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.footer-wordmark {
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.95); /* High-contrast, stable white */
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-tagline { font-size: 13px; letter-spacing: 0.05em; opacity: 0.4; font-weight: 300; text-transform: uppercase; }

/* RECURRING IDENTITY MOMENTS — REFINED */
.bg-identity-moment {
  position: absolute; top: 10%; right: 5%;
  font-family: var(--font-primary);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  z-index: 0;
}
.bg-identity-moment.light { color: rgba(0,0,0,0.015); }

.footer-top { display: flex; justify-content: space-between; gap: 80px; margin-bottom: 60px; }
.footer-nav-block { display: flex; gap: 80px; }
.footer-col h4 { font-family: var(--font-primary); font-size: 9px; text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 24px; opacity: 0.3; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; opacity: 0.5; transition: opacity 0.3s; }
.footer-col a:hover { opacity: 0.9; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 10px; opacity: 0.3; letter-spacing: 0.08em; text-transform: uppercase;
}


.visual-main-frame { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.visual-main-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

@media (max-width: 1024px) {
  .explorer-layout { grid-template-columns: 1fr; gap: 40px; overflow-y: auto; padding-top: 60px; }
  .explorer-visual { order: -1; }
}
.service-item > * { position: relative; z-index: 1; }

.service-num {
  font-size: 12px; color: rgba(247,245,240,0.3);
  letter-spacing: 0.1em; font-variant-numeric: tabular-nums;
}
.service-main { display: flex; flex-direction: column; gap: 12px; }
.service-name {
  font-family: var(--font-serif); font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 300; color: var(--text-light);
  transition: color 0.3s;
}
.service-item:hover .service-name { color: #9dbc8c; }
.service-desc { 
  font-size: clamp(14px, 1.4vw, 16px); color: var(--text-secondary); line-height: 1.6; font-weight: 300; 
  max-height: 0; overflow: hidden; opacity: 0; transition: all 0.6s var(--ease-cinemtic);
}
.service-item.active .service-desc { max-height: 200px; opacity: 1; margin-top: 24px; }

.service-metrics {
  display: flex; gap: 40px; margin-top: 32px;
  opacity: 0; transform: translateY(10px); transition: all 0.6s var(--ease-cinemtic) 0.1s;
}
.service-item.active .service-metrics { opacity: 1; transform: translateY(0); }

.metric { display: flex; flex-direction: column; gap: 4px; }
.metric span:first-child { font-family: var(--font-sans); font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.metric span:last-child { font-family: var(--font-serif); font-size: 20px; color: var(--text-primary); }

.service-visual { 
  position: absolute; right: 0; top: 50%; transform: translateY(-50%) translateX(20px) scale(0.9);
  width: 450px; aspect-ratio: 16/10; opacity: 0; overflow: hidden;
  transition: all 0.8s var(--ease-cinemtic); pointer-events: none;
  z-index: -1;
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.service-item:hover .service-visual,
.service-item.active .service-visual { opacity: 0.8; transform: translateY(-50%) translateX(0) scale(1); }

.service-arrow {
  color: rgba(247,245,240,0.3); justify-self: end;
  display: flex; align-items: center; justify-content: center;
}
.service-arrow svg {
  transition: color 0.3s, transform 0.6s var(--ease-expo);
}
.service-item:hover .service-arrow svg { color: rgba(247,245,240,0.8); }
.service-item.active .service-arrow svg { transform: rotate(90deg); color: #9dbc8c; }

/* ═══ PROJECTS SECTION ═══ */
.projects-section { background: transparent; position: relative; }

.projects-header {
  margin-bottom: clamp(48px, 7vw, 100px);
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.projects-header.is-visible { opacity: 1; transform: translateY(0); }

.projects-title {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.96; overflow: hidden;
}
.projects-title .reveal-line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.projects-header.is-visible .projects-title .reveal-line { transform: translateY(0); transition-delay: 0.15s; }

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(12px, 2vw, 24px);
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s 0.2s var(--ease-expo), transform 1s 0.2s var(--ease-expo);
}
.projects-grid.is-visible { opacity: 1; transform: translateY(0); }

.project-card { position: relative; }
.project-card--large { grid-row: 1 / 2; }
.project-card--tall { grid-row: 1 / 3; grid-column: 2; }
.project-card--wide { grid-row: 2 / 3; grid-column: 1; }

.project-img-wrap {
  position: relative; overflow: hidden;
  width: 100%;
}
.project-card--large .project-img-wrap { aspect-ratio: 4/3; }
.project-card--tall .project-img-wrap { height: 100%; min-height: 520px; }
.project-card--wide .project-img-wrap { aspect-ratio: 16/7; }

.project-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-expo);
}
.project-card:hover .project-img-wrap img { transform: scale(1); }

/* Project overlay */
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(8,8,7,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; opacity: 0;
  transition: opacity 0.5s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,245,240,0.5); margin-bottom: 8px;
}
.project-overlay-title {
  font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-light); line-height: 1.1; margin-bottom: 20px;
}
.project-link {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247,245,240,0.8); display: flex; gap: 8px; align-items: center;
  transition: color 0.3s;
}
.project-link:hover { color: white; }

/* Project captions */
.project-caption {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 16px 0 0; border-top: 1px solid var(--border);
  margin-top: 12px;
}
.project-name { font-family: var(--font-serif); font-size: clamp(16px, 2vw, 22px); font-weight: 300; margin-bottom: 4px; }
.project-type { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.project-index { font-family: var(--font-serif); font-size: 20px; color: var(--text-muted); }

.projects-footer {
  margin-top: clamp(48px, 6vw, 80px);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s 0.4s var(--ease-expo), transform 0.8s 0.4s var(--ease-expo);
}
.projects-footer.is-visible { opacity: 1; transform: translateY(0); }
.view-all-link {
  display: inline-flex; flex-direction: column; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-secondary); transition: color 0.3s;
}
.view-all-link:hover { color: var(--accent); }
.view-all-line {
  height: 1px; background: currentColor;
  width: 60px; transition: width 0.5s var(--ease-expo);
}
.view-all-link:hover .view-all-line { width: 120px; }

/* ═══ STATEMENT SECTION (Dark Full-Bleed) ═══ */
.statement-section {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  text-align: center; overflow: hidden;
}
.statement-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 1.5s var(--ease-expo);
}
.statement-section.is-visible .statement-bg { opacity: 1; }
.statement-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.25) saturate(0.5); }
.statement-content { position: relative; z-index: 1; }
.statement-title {
  font-size: clamp(44px, 7.5vw, 110px);
  line-height: 0.97; margin-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.statement-title .reveal-line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.statement-section.is-visible .statement-title .reveal-line:nth-child(1) { transform: translateY(0); transition-delay: 0.1s; }
.statement-section.is-visible .statement-title .reveal-line:nth-child(2) { transform: translateY(0); transition-delay: 0.22s; }
.statement-section.is-visible .statement-title .reveal-line:nth-child(3) { transform: translateY(0); transition-delay: 0.34s; }

.statement-cta-row {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s 0.8s var(--ease-expo), transform 0.8s 0.8s var(--ease-expo);
}
.statement-section.is-visible .statement-cta-row { opacity: 1; transform: translateY(0); }
.btn-outline-light {
  display: inline-block; padding: 16px 44px;
  border: 1px solid rgba(247,245,240,0.4);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light);
  transition: background 0.4s var(--ease-expo), border-color 0.4s;
}
.btn-outline-light:hover { background: rgba(247,245,240,0.1); border-color: rgba(247,245,240,0.8); }
.statement-caption {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(247,245,240,0.3);
}

/* ═══ CONTACT SECTION ═══ */
.contact-section {
  background: transparent;
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--pad-x);
}
.contact-inner {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.contact-inner.is-visible { opacity: 1; transform: translateY(0); }

.contact-title {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.96; margin-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.contact-title .reveal-line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.contact-inner.is-visible .contact-title .reveal-line:nth-child(1) { transform: translateY(0); transition-delay: 0.1s; }
.contact-inner.is-visible .contact-title .reveal-line:nth-child(2) { transform: translateY(0); transition-delay: 0.22s; }

.contact-details {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; padding-top: 40px; border-top: 1px solid var(--border);
}
.contact-item { display: flex; flex-direction: column; gap: 12px; }
.contact-label { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted); }
.contact-value {
  font-family: var(--font-serif); font-size: clamp(16px, 1.8vw, 22px);
  color: var(--text-primary); transition: color 0.3s;
}
.contact-value:hover { color: var(--accent); }

/* ═══ FOOTER ═══ */
/* Consolidated under 'FOOTER: ARCHITECTURAL RESTRAINT' */

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .service-item { grid-template-columns: 60px 1fr 48px; }
  .service-visual { display: none; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--tall { grid-row: 1 / 2; grid-column: 2; }
  .project-card--wide { grid-row: 2 / 3; grid-column: 1 / 3; }
  .project-card--wide .project-img-wrap { aspect-ratio: 16/6; }
}
@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav-block { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--tall, .project-card--wide { grid-row: auto; grid-column: auto; }
  .project-card--tall .project-img-wrap { min-height: auto; aspect-ratio: 4/3; }
  .project-card--wide .project-img-wrap { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .service-item { grid-template-columns: 1fr; gap: 12px; }
  .service-num { display: none; }
  .service-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .philosophy-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
}

/* ═══ MATERIAL INTELLIGENCE SECTION ═══ */
.material-lab { background: transparent; position: relative; padding: var(--section-pad) 0; overflow: hidden; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 160px); align-items: center; max-width: 1600px; margin: 0 auto; padding: 0 var(--pad-x); }
.material-visual { position: relative; width: 100%; aspect-ratio: 4/5; background: rgba(0,0,0,0.08); overflow: hidden; }
.material-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease-cinemtic); }
.material-visual:hover img { transform: scale(1.05); }

.material-overlay { 
  display: none;
}
.metric-tag {
  position: absolute; padding: 12px 20px; background: rgba(251,250,248,0.9);
  backdrop-filter: blur(10px); border: 1px solid var(--border);
  font-family: var(--font-sans); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 4px; z-index: 10;
}
.metric-tag span:first-child { color: var(--text-muted); }
.metric-tag span:last-child { color: var(--text-primary); font-weight: 600; font-size: 14px; }

.material-content { max-width: 500px; }
.material-content h2 { font-size: clamp(48px, 6vw, 84px); margin-bottom: 40px; }
.material-features { display: flex; flex-direction: column; gap: 48px; }
.feature-item { display: flex; gap: 32px; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.feature-num { font-family: var(--font-sans); font-size: 10px; opacity: 0.3; padding-top: 5px; }
.feature-text h4 { font-size: 14px; margin-bottom: 12px; color: var(--text-primary); }
.feature-text p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); font-weight: 300; }

/* ═══ PASSIVE SYSTEMS LABORATORY ═══════════════════ */
.passive-lab {
  background: transparent;
  position: relative;
  padding: 0 0 clamp(60px, 8vw, 120px) 0;
  overflow: hidden;
  color: var(--text-light);
}

.passive-architecture {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 32px);
  max-width: 1700px;
  margin: -140px auto 0; /* Extremely aggressive pull-up to eliminate the black void */
  padding: 0 var(--pad-x);
}

/* Top Level: Title & Hero Integration */
.passive-top-composition {
  display: grid;
  grid-template-columns: 0.7fr 2.3fr;
  gap: 80px;
  align-items: center;
}

.passive-content-block {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  transform: translateX(30px);
}

.passive-headline {
  font-size: clamp(24px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.passive-lead {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.4;
  max-width: 320px;
  font-weight: 300;
}

/* Visual Composition — Natural Cinematic Frame */
.passive-visual-composition {
  position: relative;
  width: 100%;
}

.passive-diagram-frame {
  position: relative;
  width: 110%;
  background: none;
  border: none;
  padding: 0;
}

.passive-diagram-img {
  width: 100%;
  height: auto;
  opacity: 0.85;
  filter: contrast(1.02) brightness(0.95);
  mask-image: radial-gradient(circle at 50% 50%, black 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 75%, transparent 100%);
}

.diagram-environmental-overlay {
  display: none;
}

/* Bottom Row: Editorial System Principles */
.passive-principles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin-top: -80px; /* Pull up aggressively into the image's faded bottom edge */
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.02);
  position: relative;
  z-index: 20; /* Ensure text sits above the image */
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.principle-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
}

.principle-num {
  font-size: 8px;
  font-weight: 600;
  color: var(--accent-light); /* Lighter sage green for visibility */
  opacity: 0.8; /* Increased opacity for legibility */
}

.principle-body h4 {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}

.principle-body p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.45;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .passive-top-composition { grid-template-columns: 1fr; gap: 30px; }
  .passive-principles-row { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; margin-top: 0; }
  .principle-item:not(:last-child)::after { display: none; }
  .passive-content-block { transform: none; }
  .passive-diagram-frame { width: 100%; }
}

.spatial-callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.callout-line {
  width: 1px;
  height: 50px;
  background: rgba(157, 188, 140, 0.4); /* Reduced opacity for restraint */
}

.callout-label {
  font-size: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  background: var(--bg-darker);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.05);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .passive-architecture { grid-template-columns: 1fr; gap: 80px; }
  .passive-content-block { padding-right: 0; }
  .insight-block { transform: none !important; }
}

/* ═══ ENVIRONMENTAL CHAMBER ═══════════════════ */
.env-chamber {
  position: relative;
  min-height: 100vh;
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-darker);
}

.env-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.env-bg-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1) saturate(0.9);
  transform: scale(1.05); /* Setup for subtle parallax */
}
.env-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,7,0.3);
}

.env-content-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Heavy Architectural Frosted Glass */
.env-glass-panel {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(to bottom, rgba(45, 55, 40, 0.2), rgba(35, 45, 30, 0.4)); /* Reduced density at the top for typography */
  backdrop-filter: blur(40px) saturate(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    30px 40px 80px rgba(0,0,0,0.5),
    inset 0 0 80px rgba(0, 20, 0, 0.2);
  padding: clamp(60px, 8vw, 100px);
}

/* Subtle reflection gradient */
.env-glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  border-radius: 12px;
}

.env-glass-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.env-glass-title {
  color: rgba(145, 158, 140, 0.4); /* Desaturated moss-grey */
  font-family: var(--font-primary);
  font-size: clamp(50px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  mix-blend-mode: overlay; /* Environmental embedding */
  text-shadow: 
    0 0 60px rgba(160, 180, 150, 0.12), /* Soft environmental diffusion behind typography */
    0 2px 10px rgba(0, 0, 0, 0.2), /* Depth to push into the glass */
    0 1px 0 rgba(255, 255, 255, 0.05); /* Faint surface bevel */
}
.env-glass-title span {
  display: block;
}
.env-glass-title em {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
}

.env-inset-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.env-inset-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.env-glass-desc {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
}

/* Right Side Typography / Study Points */
.env-studies-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-light);
  padding-left: clamp(20px, 4vw, 60px);
}

.env-studies-headline {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.env-studies-lead {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 440px;
  font-weight: 300;
  margin-bottom: 60px;
}

.env-study-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.env-study-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.4s;
  cursor: pointer;
}
.env-study-item:hover {
  border-bottom-color: var(--accent-light);
}

.env-study-item .study-num {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.4;
  color: var(--accent-light);
}

.env-study-item .study-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  transition: color 0.4s;
}
.env-study-item:hover .study-name {
  color: var(--accent-light);
}

@media (max-width: 1024px) {
  .env-content-layout { grid-template-columns: 1fr; gap: 60px; }
  .env-studies-panel { padding-left: 0; }
  .env-glass-title { color: rgba(255,255,255,0.9); text-shadow: none; }
}

/* ═══ CLIMATE REALITY (COMPARISON) ═══ */
.climate-reality { padding: var(--section-pad) 0; background: transparent; position: relative; border-top: none; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); max-width: 1600px; margin: 0 auto; }
.comp-side { background: rgba(247,245,240,0.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.comp-side.traditional { background: rgba(245, 243, 240, 0.88); }
.comp-label { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 40px; display: block; }
.comp-side h3 { font-size: 40px; margin-bottom: 32px; color: var(--text-light); }
.comp-list { display: flex; flex-direction: column; gap: 24px; }
.comp-item { display: flex; align-items: center; gap: 16px; font-size: 15px; color: rgba(247,245,240,0.55); font-weight: 300; }
.comp-item svg { width: 18px; height: 18px; opacity: 0.4; }
.comp-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,245,240,0.3); margin-bottom: 40px; display: block; }
.comp-side.agc-side { color: var(--bg-cream); }
.comp-side.agc-side .comp-item { color: rgba(157,188,140,0.85); }
.comp-side.agc-side .comp-label { color: var(--accent-light); }

/* ═══ RESPONSIVE OVERRIDES ═══ */
@media (max-width: 1024px) {
  .material-grid { grid-template-columns: 1fr; gap: 60px; }
  .material-content { max-width: 100%; }
  .passive-diagram-grid { grid-template-columns: 1fr 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
}
.research-innovation-block { 
  margin-top: 160px; padding: 120px;
  background: rgba(13,13,11,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--bg-cream);
  border: 1px solid rgba(255,255,255,0.05);
}
.innovation-content { max-width: 800px; }
.innovation-content h3 { font-size: 48px; margin-bottom: 24px; }
.innovation-content p { font-size: 18px; line-height: 1.6; opacity: 0.7; margin-bottom: 60px; font-weight: 300; }

.innovation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.innovation-item { display: flex; flex-direction: column; gap: 12px; }
.innovation-item span { font-family: var(--font-sans); font-size: 10px; opacity: 0.3; }
.innovation-item h4 { font-size: 11px; letter-spacing: 0.1em; color: var(--bg-cream); }

@media (max-width: 1024px) {
  .research-innovation-block { padding: 80px 40px; }
  .innovation-grid { grid-template-columns: 1fr; gap: 40px; }
}

