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

:root {
  --white: #ffffff;
  --off-white: #f8f8f8;
  --black: #1f1f22;
  --ink: #2a2a2e;
  --muted: rgba(31,31,34,0.55);
  --accent: #c4722a;
  --accent-cool: #3d5a80;
  --sap-green: #5a7247;
  --earth: #8b7355;
  --terracotta: #c4722a;
  --easing: cubic-bezier(0.25, 0.1, 0.25, 1);
  --easing-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 76px; }

body {
  background: #ffffff;
  color: var(--black);
  font-family: 'Helvetica Neue', Helvetica, 'Frutiger', Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 52px; height: 58px;
  background: rgba(10,9,8,0.6);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  transition: background 0.5s var(--easing);
}
.nav-logo {
  font-family: inherit;
  font-size: 1rem; letter-spacing: 0.12em;
  font-weight: 400; color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s ease; font-weight: 400;
}
.nav-links a:hover { color: rgba(255,255,255,0.9); }

/* ─── HERO ─── */
#hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 60% 40%, rgba(61,90,128,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 15% 70%, rgba(196,114,42,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(10,9,8,0.9) 0%, transparent 60%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1100px; width: 100%;
  padding: 0 52px; gap: 80px; align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 0; }
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1s var(--easing) 0.2s forwards;
}
.hero-eyebrow::before {
  content:''; display:block; width:28px; height:0.5px; background:var(--accent);
}
.hero-h1 {
  font-family: inherit;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1.1s var(--easing) 0.35s forwards;
}
.hero-h1 em { font-style: italic; color: rgba(255,255,255,0.55); }
.hero-subtitle {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 36px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1s var(--easing) 0.5s forwards;
}
.hero-bio {
  font-size: 1rem; line-height: 1.8;
  color: rgba(255,255,255,0.58); max-width: 420px;
  margin-bottom: 44px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1s var(--easing) 0.65s forwards;
}
.hero-contacts {
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1s var(--easing) 0.8s forwards;
}
.hero-contact-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.3s ease;
  letter-spacing: 0.03em;
}
.hero-contact-item:hover { color: rgba(255,255,255,0.85); }
.hero-contact-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}
.hero-photo-wrap {
  position: relative;
  opacity: 0; transform: scale(0.96) translateY(20px);
  animation: fadeScale 1.2s var(--easing) 0.4s forwards;
}
.hero-photo {
  width: 100%; max-width: 380px; display: block;
  border-radius: 3px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.7), 0 20px 40px rgba(0,0,0,0.4);
  filter: grayscale(10%);
}
.hero-photo-caption {
  margin-top: 16px; font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
  font-family: inherit;
}
.hero-lang-pills {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.hero-lang {
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 20px; color: rgba(255,255,255,0.28);
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 52px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  opacity: 0; animation: fadeUp 1s var(--easing) 1.2s forwards;
}
.scroll-line {
  width: 40px; height: 0.5px; background: rgba(255,255,255,0.2);
  transform-origin: left; animation: lineGrow 1.4s var(--easing) 1.4s both;
}
@keyframes lineGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* ─── ABOUT SECTION (LIGHT) ─── */
#about {
  background: var(--off-white); color: var(--black);
  padding: 100px 52px;
}
.about-inner {
  max-width: 1100px; margin: 0 auto;
}
.section-tag {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before {
  content:''; width:22px; height:0.5px; background:var(--accent); display:block;
}
.about-headline {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--black); margin-bottom: 60px; max-width: 620px;
}
.about-headline em { font-style: italic; color: rgba(26,25,22,0.45); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 52px;
}
.about-col-head {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 22px; font-weight: 500;
}
.skill-group { margin-bottom: 20px; }
.skill-group-label {
  font-size: 0.62rem; color: rgba(26,25,22,0.4); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px; font-weight: 400;
}
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-size: 0.7rem; padding: 5px 11px;
  background: rgba(26,25,22,0.06); color: rgba(26,25,22,0.7);
  border-radius: 2px; letter-spacing: 0.04em;
  transition: background 0.25s ease, transform 0.25s var(--easing); cursor: default;
  display: inline-block;
}
.pill:hover { background: rgba(26,25,22,0.1); transform: translateY(-2px); }
.timeline-item { margin-bottom: 22px; transition: transform 0.3s var(--easing); }
.timeline-item:hover { transform: translateX(4px); }
.timeline-role { font-size: 0.88rem; font-weight: 500; color: var(--black); margin-bottom: 3px; }
.timeline-place { font-size: 0.76rem; color: rgba(26,25,22,0.5); margin-bottom: 3px; }
.timeline-date { font-size: 0.65rem; color: var(--accent); letter-spacing: 0.08em; }
.about-divider {
  border: none; border-top: 0.5px solid rgba(26,25,22,0.1); margin: 28px 0;
}

/* ─── PROJECT SECTIONS ─── */
.project-section {
  position: relative; overflow: hidden;
}

/* Full-bleed hero image with overlay text */
.proj-fullbleed {
  position: relative; height: 92vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.proj-fullbleed img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out, opacity 0.6s ease;
}
.proj-fullbleed.in-view img { transform: scale(1.0); }
.proj-fullbleed-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,9,8,0.92) 0%,
    rgba(10,9,8,0.4) 40%,
    transparent 70%
  );
}
.proj-fullbleed-content {
  position: relative; z-index: 2;
  padding: 0 52px 56px; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
}
.proj-num {
  font-family: inherit;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 300; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.14);
  flex-shrink: 0;
  align-self: flex-end;
  transition: -webkit-text-stroke-color 0.4s ease;
}
.proj-title-block { flex: 1; }
.proj-category {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 1px;
  background: #1f1f22;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.proj-category::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: none;
}
.proj-name {
  font-family: inherit;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400; line-height: 1.05; margin-bottom: 8px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--easing) 0.1s;
}
.proj-fullbleed.in-view .proj-name { clip-path: inset(0 0 0% 0); }
.proj-location {
  font-size: 0.65rem; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35); font-family: monospace;
}

/* Per-project index readout, top-right of each fullbleed hero (auto-numbered, no markup needed) */
#tab-architecture { counter-reset: proj-index; }
.project-section { counter-increment: proj-index; }
.proj-fullbleed::before {
  content: counter(proj-index, decimal-leading-zero) ' \2014 05';
  position: absolute; top: 26px; right: 52px; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.18em;
  font-family: monospace;
  color: rgba(255,255,255,0.32);
}
/* Scroll-cue chevron, bottom-center of each fullbleed hero */
.proj-fullbleed::after {
  content: '';
  position: absolute; bottom: 24px; left: 50%; z-index: 2;
  width: 8px; height: 8px;
  border-right: 1.5px solid rgba(255,255,255,0.32);
  border-bottom: 1.5px solid rgba(255,255,255,0.32);
  transform: translateX(-50%) rotate(45deg);
  animation: projScrollBounce 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes projScrollBounce {
  0%, 100% { margin-top: 0; opacity: 0.55; }
  50% { margin-top: 8px; opacity: 1; }
}

@media (max-width: 768px) {
  .proj-fullbleed::before { display: none; }
}

/* Project body */
.proj-body {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 52px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  align-items: start;
}
.proj-meta { }
.proj-meta-label {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 6px;
}
.proj-meta-value {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  margin-bottom: 24px; line-height: 1.6;
}
.proj-description {
  font-size: 1.05rem; line-height: 1.9;
  color: rgba(255,255,255,0.62); font-weight: 300;
}
.proj-description strong {
  color: rgba(255,255,255,0.85); font-weight: 400;
}

/* Image pairs */
.proj-images {
  max-width: 1100px; margin: 0 auto;
  padding: 0 52px 80px;
  display: grid; gap: 12px;
}
.proj-images.pair { grid-template-columns: 1fr 1fr; }
.proj-images.single { grid-template-columns: 1fr; }
.proj-image-wrap { position: relative; overflow: hidden; border-radius: 2px; }
.proj-image-wrap img {
  width: 100%; display: block;
  transition: transform 0.9s var(--easing-soft), opacity 0.6s ease;
}
.proj-image-wrap:hover img { transform: scale(1.03); }
.proj-image-label {
  margin-top: 8px; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(44,44,46,0.3); text-align: center;
}

/* Insight callout */
.proj-callout {
  max-width: 1100px; margin: 0 auto 80px;
  padding: 0 52px;
}
.callout-inner {
  background: rgba(44,44,46,0.02);
  border: 0.5px solid rgba(44,44,46,0.08);
  border-radius: 3px; padding: 44px 52px;
  display: flex; gap: 48px; align-items: flex-start;
}
.callout-accent {
  font-family: inherit;
  font-size: 3rem; font-weight: 300;
  color: var(--accent); line-height: 1; flex-shrink: 0; padding-top: 4px;
}
.callout-text {
  font-size: 0.95rem; line-height: 1.85;
  color: rgba(255,255,255,0.55);
}
.callout-text strong { color: rgba(255,255,255,0.78); font-weight: 400; }

/* Section divider */
.section-rule {
  max-width: 1100px; margin: 0 auto;
  padding: 0 52px;
  border: none; border-top: 0.5px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}

/* ─── AWARDS ─── */
#awards {
  background: var(--off-white); color: var(--black);
  padding: 100px 52px;
}
.awards-inner { max-width: 1100px; margin: 0 auto; }
.awards-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px;
}
.awards-headline {
  font-family: inherit;
  font-size: clamp(2rem,4vw,3rem); font-weight: 300;
}
.awards-count {
  font-family: inherit;
  font-size: 5rem; font-weight: 300; color: rgba(26,25,22,0.07);
  line-height: 1;
}
.awards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.award-card {
  padding: 32px 0; border-top: 0.5px solid rgba(26,25,22,0.12);
  padding-right: 32px;
}
.award-title { font-size: 0.95rem; font-weight: 500; margin-bottom: 5px; }
.award-event { font-size: 0.75rem; color: rgba(26,25,22,0.45); letter-spacing: 0.05em; margin-bottom: 6px; }
.award-year { font-size: 0.65rem; color: var(--accent-cool); letter-spacing: 0.1em; }

/* ─── FOOTER / CONTACT ─── */
#contact-section {
  padding: 120px 52px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(61,90,128,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.footer-name {
  font-family: inherit;
  font-size: clamp(3rem,7vw,6rem); font-weight: 300; font-style: italic;
  margin-bottom: 12px; position: relative; z-index: 1;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.footer-role {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 52px; position: relative; z-index: 1;
}
.footer-links {
  display: flex; justify-content: center; gap: 48px;
  margin-bottom: 72px; position: relative; z-index: 1;
}
.footer-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.3s ease;
  padding-bottom: 4px; border-bottom: 0.5px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-link:hover {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.3);
}
.footer-copy {
  font-size: 0.62rem; color: rgba(255,255,255,0.15);
  letter-spacing: 0.12em; position: relative; z-index: 1;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fadeScale {
  from { opacity:0; transform:scale(0.96) translateY(20px); }
  to { opacity:1; transform:scale(1) translateY(0); }
}

/* Scroll-triggered */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s var(--easing), transform 1.1s var(--easing);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }
.reveal-delay-5 { transition-delay: 0.68s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 120px 24px 60px; gap: 40px; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { max-width: 260px; }
  .about-grid, .awards-grid { grid-template-columns: 1fr; }
  .proj-body { grid-template-columns: 1fr; gap: 28px; }
  .proj-images.pair { grid-template-columns: 1fr; }
  .proj-fullbleed-content { flex-direction: column; align-items: flex-start; padding: 0 24px 40px; }
  .proj-num { display: none; }
  #about, #awards, #contact-section { padding: 72px 24px; }
  .proj-body, .proj-images, .proj-callout { padding-left: 24px; padding-right: 24px; }
  .callout-inner { flex-direction: column; gap: 20px; padding: 28px; }
  .hero-scroll { left: 24px; }
}

/* ─── LIGHT THEME (toggle: body.theme-light) ─── */
/* Default (no class) = dark theme. Add body.theme-light to switch to the light/white theme below. */

/* ─── FULL WHITE THEME ─── */

/* NAV - light frosted glass */
body.theme-light nav {
  background: rgba(255,255,255,0.82) !important;
  border-bottom-color: rgba(0,0,0,0.06);
}
body.theme-light .nav-logo {
  font-weight: 500;
  color: var(--black) !important;
  letter-spacing: 0.02em;
}
body.theme-light .nav-links a { color: rgba(44,44,46,0.5) !important; }
body.theme-light .nav-links a:hover { color: var(--black) !important; }

/* HERO - white bg, two-column: text left, photo right */
body.theme-light #hero {
  background: #ffffff;
  height: 100vh;
  min-height: 100vh;
  padding-bottom: 0;
}
body.theme-light .hero-bg-gradient { display: none; }
body.theme-light .hero-noise { display: none; }
body.theme-light .hero-inner {
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  text-align: left;
  gap: 48px;
  padding-top: 80px;
  align-items: center;
}

/* Hero text - shown, left side, dark text on white */
body.theme-light .hero-text {
  display: flex !important;
  max-width: 520px;
  margin: 0;
  padding-top: 0;
  align-items: flex-start;
}
body.theme-light .hero-eyebrow { color: var(--accent); }
body.theme-light .hero-eyebrow::before { background: var(--accent); }
body.theme-light .hero-h1 { color: var(--black); font-weight: 300; letter-spacing: -0.01em; }
body.theme-light .hero-h1 em { color: rgba(44,44,46,0.35); font-style: italic; }
body.theme-light .hero-subtitle { color: rgba(44,44,46,0.4); }
body.theme-light .hero-bio { color: rgba(44,44,46,0.55); }
body.theme-light .hero-contacts { align-items: flex-start; }
body.theme-light .hero-contact-item { color: rgba(44,44,46,0.5); }
body.theme-light .hero-contact-item:hover { color: var(--black); }
body.theme-light .hero-contact-icon {
  border-color: rgba(44,44,46,0.12);
  color: rgba(44,44,46,0.5);
}

/* Hero photo - full display, no crop needed (standalone photo) */
body.theme-light .hero-photo-wrap {
  animation-duration: 1.8s;
  overflow: hidden;
  max-width: 480px;
  max-height: 600px;
  border-radius: 6px;
}
body.theme-light .hero-photo {
  max-width: 480px;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  filter: none;
  margin-top: 0;
}
body.theme-light .hero-photo-caption { display: none; }
body.theme-light .hero-lang-pills {
  display: flex;
  justify-content: flex-start;
}
body.theme-light .hero-lang {
  border-color: rgba(44,44,46,0.12);
  color: rgba(44,44,46,0.35);
}
body.theme-light .hero-scroll {
  display: flex;
  color: rgba(44,44,46,0.25);
}

/* ABOUT - white bg */
body.theme-light #about { background: #ffffff; }
body.theme-light .about-headline { font-weight: 500; letter-spacing: -0.02em; color: var(--black); }

/* PROJECT SECTIONS - white bg, dark text */
body.theme-light .project-section { background: #ffffff; }
body.theme-light .proj-fullbleed-overlay {
  background: linear-gradient(
    to top,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.5) 40%,
    transparent 70%
  );
}
body.theme-light .proj-num {
  color: transparent;
  -webkit-text-stroke: 1px rgba(44,44,46,0.12);
}
body.theme-light .proj-category {
  color: #ffffff;
  border-color: var(--accent);
  background: #1f1f22;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.theme-light .proj-name {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}
body.theme-light .proj-location { color: rgba(44,44,46,0.4); }
body.theme-light .proj-fullbleed::before { color: rgba(44,44,46,0.35); }
body.theme-light .proj-fullbleed::after {
  border-right-color: rgba(44,44,46,0.32);
  border-bottom-color: rgba(44,44,46,0.32);
}
body.theme-light .proj-meta-label { color: rgba(44,44,46,0.4); }
body.theme-light .proj-meta-value { color: rgba(44,44,46,0.7); }
body.theme-light .proj-description { color: rgba(44,44,46,0.65); }
body.theme-light .proj-description strong { color: var(--black); }
body.theme-light .proj-image-label { color: rgba(44,44,46,0.3); }

/* Callout */
body.theme-light .proj-callout { border-top-color: rgba(44,44,46,0.08); }
body.theme-light .callout-inner {
  background: rgba(44,44,46,0.02);
  border-color: rgba(44,44,46,0.08);
}
body.theme-light .callout-text { color: rgba(44,44,46,0.6); }
body.theme-light .callout-accent { color: var(--sap-green); }

/* Awards */
body.theme-light #awards { background: #ffffff; }
body.theme-light .awards-headline { font-weight: 500; letter-spacing: -0.02em; color: var(--black); }
body.theme-light .awards-count { color: rgba(44,44,46,0.05); }
body.theme-light .award-card { border-top-color: rgba(44,44,46,0.08); }
body.theme-light .award-title { color: var(--black); }
body.theme-light .award-event { color: rgba(44,44,46,0.5); }

/* FOOTER - white bg, dark text */
body.theme-light #contact-section { background: #ffffff; }
body.theme-light .footer-glow {
  background: radial-gradient(ellipse, rgba(61,90,128,0.06) 0%, transparent 70%);
}
body.theme-light .footer-name {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}
body.theme-light .footer-role { color: rgba(44,44,46,0.4); }
body.theme-light .footer-link { color: rgba(44,44,46,0.45); }
body.theme-light .footer-link:hover {
  color: var(--black);
  border-bottom-color: rgba(44,44,46,0.3);
}
body.theme-light .footer-copy { color: rgba(44,44,46,0.2); }

/* Scrollbar - light */
body.theme-light::-webkit-scrollbar { width: 6px; }
body.theme-light::-webkit-scrollbar-track { background: #f0f0f0; }
body.theme-light::-webkit-scrollbar-thumb { background: rgba(44,44,46,0.2); border-radius: 3px; }
body.theme-light::-webkit-scrollbar-thumb:hover { background: rgba(44,44,46,0.35); }

/* Smoother reveal animations */
body.theme-light .reveal {
  transition-duration: 1.4s;
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (max-width: 768px) {
  body.theme-light .hero-photo { max-width: 300px; }
  body.theme-light .hero-photo-wrap { max-width: 300px; max-height: 340px; }
  body.theme-light .hero-text { padding: 36px 24px 0; }
}

/* Project image cropping - remove PDF header/footer more aggressively */
.proj-image-wrap {
  overflow: hidden;
}
.proj-image-wrap img {
  margin-top: -7%;
  margin-bottom: -8%;
  height: 115%;
  object-fit: cover;
}


/* --- NEW OVERRIDES FOR 75vw STACKED CATALOGUE SLIDES --- */
.proj-images {
  width: 75vw !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.proj-images.pair {
  grid-template-columns: 1fr !important; /* Stack vertically instead of side-by-side */
  gap: 40px !important;
}
.proj-image-wrap img {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important; /* No negative margins needed, PDF itself is naturally cropped */
  object-fit: contain !important;
}
/* Fullbleed overrides */
.proj-fullbleed img {
  object-fit: cover !important;
}
/* Ensure animations are smooth */
.proj-image-wrap {
  transform: translateZ(0); 
}

/* --- LIGHTBOX MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.96);
  cursor: zoom-out;
}
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: none;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-content.zoomed {
  transform: scale(2.5);
  cursor: zoom-out;
}
.modal-close {
  position: fixed;
  top: 20px;
  right: 35px;
  color: #333;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10001;
}
.modal-close:hover { color: #000; }

.catalog-hidden {
  display: none !important;
}

.catalog-toggle {
  cursor: pointer;
}

.catalog-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.catalog-close-btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(44,44,46,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: rgba(44,44,46,0.85);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.catalog-close-btn:hover {
  background: rgba(44,44,46,0.08);
  border-color: rgba(44,44,46,0.35);
}

.catalog-subtitle {
  width: 75vw;
  margin: 0 auto 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.proj-catalog-group {
  margin-bottom: 72px;
}

/* Slightly darker typography pass */
.proj-meta-value { color: rgba(31,31,34,0.78); }
.proj-description { color: rgba(31,31,34,0.76); }
.callout-text { color: rgba(31,31,34,0.72); }
.proj-image-label { color: rgba(31,31,34,0.55); }
.footer-link { color: rgba(31,31,34,0.72); }
.timeline-place { color: rgba(31,31,34,0.62); }

/* Responsiveness + smooth animation tuning */
.reveal,
.proj-image-wrap img,
.proj-fullbleed img {
  will-change: transform, opacity;
}

@media (max-width: 1024px) {
  .proj-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 28px;
  }
  .proj-fullbleed {
    height: 72vh;
  }
  .proj-fullbleed-content {
    padding: 0 28px 36px;
  }
  .proj-images {
    width: min(92vw, 980px) !important;
  }
  .callout-inner {
    padding: 30px 26px;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .proj-fullbleed {
    height: 62vh;
  }
  .proj-name {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
  .proj-category {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    padding: 9px 14px 9px 11px;
    gap: 8px;
    white-space: nowrap;
  }
  .proj-description {
    font-size: 0.95rem;
    line-height: 1.75;
  }
  .proj-images {
    width: 94vw !important;
    gap: 24px !important;
  }
  .proj-image-label {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════
   UX UPGRADES — mobile nav, project nav, lightbox, chevrons
   ═══════════════════════════════════════════════ */

/* ─── MOBILE HAMBURGER ─── */
.nav-burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  background: none; border: none; cursor: pointer;
  z-index: 1200; position: relative;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(44,44,46,0.85);
  transition: transform 0.35s var(--easing), opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--easing), visibility 0.4s;
}
.mobile-nav-menu.open { opacity: 1; visibility: visible; }
.mobile-nav-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 28px;
  text-align: center;
}
.mobile-nav-links a {
  font-size: 1.4rem; letter-spacing: 0.02em;
  color: var(--black); text-decoration: none; font-weight: 300;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--easing), transform 0.4s var(--easing), color 0.3s ease;
}
.mobile-nav-menu.open .mobile-nav-links a {
  opacity: 1; transform: translateY(0);
}
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(2) a { transition-delay: 0.1s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(4) a { transition-delay: 0.2s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(5) a { transition-delay: 0.25s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(6) a { transition-delay: 0.3s; }
.mobile-nav-menu.open .mobile-nav-links li:nth-child(7) a { transition-delay: 0.35s; }

body.nav-open { overflow: hidden; }

@media (max-width: 768px) {
  .nav-burger { display: flex; }
}

/* ─── PROJECT PREV/NEXT NAV BAR ─── */
.proj-nav-bar {
  max-width: 1100px; margin: 0 auto;
  padding: 0 52px 64px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.proj-nav-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  padding: 18px 22px;
  border: 0.5px solid rgba(44,44,46,0.1);
  border-radius: 4px;
  flex: 1; max-width: 320px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--easing);
}
.proj-nav-link:hover {
  border-color: rgba(44,44,46,0.25);
  background: rgba(44,44,46,0.02);
  transform: translateY(-2px);
}
.proj-nav-next { justify-content: flex-end; text-align: right; margin-left: auto; }
.proj-nav-disabled { max-width: 320px; flex: 1; }
.proj-nav-arrow {
  font-size: 1.1rem; color: var(--accent); flex-shrink: 0;
  transition: transform 0.3s ease;
}
.proj-nav-prev:hover .proj-nav-arrow { transform: translateX(-4px); }
.proj-nav-next:hover .proj-nav-arrow { transform: translateX(4px); }
.proj-nav-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.proj-nav-caption {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(44,44,46,0.4);
}
.proj-nav-title {
  font-size: 0.85rem; color: var(--black); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .proj-nav-bar { padding: 0 24px 48px; flex-direction: column; }
  .proj-nav-link, .proj-nav-disabled { max-width: none; width: 100%; }
}

/* ─── CATALOG TOGGLE CHEVRON ─── */
.catalog-toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
}
.catalog-toggle::after {
  content: '';
  width: 12px; height: 12px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--easing);
  opacity: 0.5;
  margin-bottom: 4px;
}
.catalog-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
  margin-bottom: -6px;
}
.catalog-toggle:hover::after { opacity: 0.9; }

/* ─── LIGHTBOX NAV & COUNTER ─── */
.modal-nav-btn {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0.5px solid rgba(44,44,46,0.15);
  background: rgba(255,255,255,0.85);
  color: rgba(44,44,46,0.8);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10002;
  transition: background 0.25s ease, transform 0.25s ease;
}
.modal-nav-btn:hover { background: rgba(44,44,46,0.08); transform: translateY(-50%) scale(1.06); }
.modal-nav-prev { left: 28px; }
.modal-nav-next { right: 28px; }
.modal-counter {
  position: fixed;
  bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.14em;
  color: rgba(44,44,46,0.55);
  background: rgba(255,255,255,0.85);
  border: 0.5px solid rgba(44,44,46,0.1);
  padding: 6px 14px; border-radius: 999px;
  z-index: 10002;
}
@media (max-width: 640px) {
  .modal-nav-btn { width: 40px; height: 40px; font-size: 1.1rem; }
  .modal-nav-prev { left: 10px; }
  .modal-nav-next { right: 10px; }
}

/* ─── GALLERY IMAGE FADE-IN ON LAZY LOAD ─── */
.proj-image-wrap img,
.proj-fullbleed img {
  opacity: 0;
}
.proj-image-wrap img.img-loaded,
.proj-fullbleed img.img-loaded {
  opacity: 1;
}

/* ─── THEME TOGGLE SWITCH ─── */
.theme-toggle {
  background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0;
  margin-left: 28px;
}
.theme-toggle-track {
  position: relative;
  display: flex; align-items: center;
  width: 52px; height: 26px;
  border-radius: 999px;
  border: 0.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.theme-toggle-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 0.72rem; line-height: 1;
  color: rgba(255,255,255,0.4);
  transition: color 0.35s ease, opacity 0.35s ease;
}
.theme-toggle-icon-sun { left: 6px; }
.theme-toggle-icon-moon { right: 6px; }
.theme-toggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.35s var(--easing);
}

/* Dark theme = default (no .theme-light): thumb sits left, moon dim */
.theme-toggle-icon-moon { color: rgba(255,255,255,0.7); }

/* Light theme active: track light, thumb slides right, sun highlighted */
body.theme-light .theme-toggle-track {
  border-color: rgba(44,44,46,0.14);
  background: rgba(44,44,46,0.06);
}
body.theme-light .theme-toggle-thumb {
  transform: translateX(26px);
  background: #1f1f22;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
body.theme-light .theme-toggle-icon { color: rgba(44,44,46,0.3); }
body.theme-light .theme-toggle-icon-sun { color: var(--accent); }
body.theme-light .theme-toggle-icon-moon { color: rgba(44,44,46,0.3); }

/* Dark theme active: moon highlighted */
body:not(.theme-light) .theme-toggle-icon-moon { color: rgba(255,255,255,0.85); }
body:not(.theme-light) .theme-toggle-icon-sun { color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
  .theme-toggle { margin-left: 16px; margin-right: 4px; }
}

/* ─── LOCATIONS MAP ─── */
#locations {
  background: var(--off-white); color: var(--black);
  padding: 100px 52px;
}
body.theme-light #locations { background: #ffffff; }
.locations-inner { max-width: 1100px; margin: 0 auto; }
.locations-headline {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 48px; max-width: 620px;
}
.locations-headline em { font-style: italic; color: rgba(255,255,255,0.45); }
body.theme-light .locations-headline { font-weight: 500; letter-spacing: -0.02em; color: var(--black); }
body.theme-light .locations-headline em { color: rgba(44,44,46,0.4); }

#project-map {
  width: 100%; height: 460px;
  border-radius: 4px;
  border: 0.5px solid rgba(255,255,255,0.1);
  overflow: hidden;
  filter: grayscale(0.15) contrast(1.02);
}
body.theme-light #project-map {
  border-color: rgba(44,44,46,0.1);
}

/* Leaflet marker/popup theming to match site aesthetic */
.leaflet-popup-content-wrapper {
  border-radius: 3px;
  background: var(--black);
  color: rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
body.theme-light .leaflet-popup-content-wrapper {
  background: #ffffff;
  color: var(--black);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.leaflet-popup-tip { background: var(--black); }
body.theme-light .leaflet-popup-tip { background: #ffffff; }
.map-popup-category {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px; display: block;
}
.map-popup-title {
  font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; display: block;
}
.map-popup-link {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-cool); text-decoration: none; display: inline-block; margin-top: 4px;
}
.map-popup-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  #locations { padding: 72px 24px; }
  #project-map { height: 360px; }
}

/* Custom map marker */
.map-marker span {
  display: block; width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(196,114,42,0.35), 0 2px 6px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════════════
   TAB SYSTEM — Architecture / D Color Lab
   ═══════════════════════════════════════════════ */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Tab switcher pill (desktop, sits in nav) */
.tab-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  background: rgba(128,128,128,0.12);
  border: 0.5px solid rgba(128,128,128,0.18);
  margin-left: 32px;
}
.tab-switch-btn {
  border: none; background: none; cursor: pointer;
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(128,128,128,0.75);
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.tab-switch-btn.active {
  background: var(--black);
  color: #fff;
}
body.theme-light .tab-switch-btn.active { background: var(--black); color: #fff; }
body:not(.theme-light) .tab-switch-btn.active { background: rgba(255,255,255,0.92); color: #0a0908; }
.dcl .tab-switch-btn.active { background: rgba(255,255,255,0.92); color: #0a0908; }
body.theme-light .dcl .tab-switch-btn.active { background: var(--black); color: #fff; }

.tab-switch-mobile {
  margin: 0 0 36px; align-self: center;
}

@media (max-width: 1180px) {
  .tab-switch { margin-left: 16px; }
  .tab-switch-btn { padding: 6px 11px; font-size: 0.6rem; }
}
@media (max-width: 768px) {
  .tab-switch:not(.tab-switch-mobile) { display: none; } /* desktop nav pill hidden; mobile menu shows its own copy */
}

/* ═══════════════════════════════════════════════
   D COLOR LAB — base (dark by default, matches logo)
   ═══════════════════════════════════════════════ */
.dcl {
  background: #0a0908;
  color: rgba(255,255,255,0.75);
}
.dcl .dcl-inner { max-width: 1100px; margin: 0 auto; padding: 0 52px; }

/* Nav */
.dcl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 52px; height: 58px;
  background: rgba(10,9,8,0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.dcl-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 0.92rem; letter-spacing: 0.12em;
  font-weight: 500; color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.dcl-nav-logo-icon { width: 20px; height: auto; display: block; }
.dcl-nav-links { display: flex; gap: 36px; list-style: none; margin-left: auto; margin-right: 28px; }
.dcl-nav-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s ease; font-weight: 400;
}
.dcl-nav-links a:hover { color: rgba(255,255,255,0.95); }

@media (max-width: 768px) {
  .dcl-nav { padding: 0 24px; }
  .dcl-nav-links { display: none; }
  .dcl-burger span { background: rgba(255,255,255,0.85); }
}

/* Hero */
.dcl-hero {
  height: 100vh; min-height: 640px; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(61,90,128,0.16) 0%, transparent 60%),
    #0a0908;
}
.dcl-hero-inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px;
}
.dcl-hero-logo {
  width: min(60vw, 320px); height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
}
.dcl-hero-tagline {
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 18px;
}
.dcl-hero-services {
  font-size: 0.95rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5); max-width: 560px;
}
.dcl-hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.dcl-hero-scroll .scroll-line { width: 0.5px; height: 34px; background: rgba(255,255,255,0.2); }

/* Section headings shared */
.dcl-section-tag {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.dcl-section-tag::before { content:''; width:22px; height:0.5px; background:var(--accent-cool); display:block; }
.dcl-headline {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: #fff; margin-bottom: 56px;
}

/* Services */
.dcl-services { padding: 120px 0; }
.dcl-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.dcl-service-card {
  padding: 32px 0 0; border-top: 0.5px solid rgba(255,255,255,0.14);
}
.dcl-service-num {
  font-size: 0.7rem; color: var(--accent-cool); letter-spacing: 0.1em; margin-bottom: 18px;
}
.dcl-service-title {
  font-family: inherit; font-size: 1.15rem; font-weight: 500;
  color: #fff; margin-bottom: 14px; line-height: 1.3;
}
.dcl-service-desc {
  font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.5);
}

/* Selected Work */
.dcl-work { padding: 40px 0 120px; }
.dcl-work-group { margin-bottom: 64px; }
.dcl-work-group-title {
  font-size: 1rem; font-weight: 500; color: #fff;
  letter-spacing: 0.02em; margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
.dcl-video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.dcl-video-grid-pair { grid-template-columns: repeat(2, 1fr); }
.dcl-video-card-wide { grid-column: span 3; }
.dcl-video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 3px; overflow: hidden;
  background: #000;
  border: 0.5px solid rgba(255,255,255,0.1);
}
.dcl-video-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.dcl-video-caption {
  margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1024px) {
  .dcl-video-grid, .dcl-video-grid-pair { grid-template-columns: 1fr 1fr; }
  .dcl-video-card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .dcl-video-grid, .dcl-video-grid-pair { grid-template-columns: 1fr; }
  .dcl-video-card-wide { grid-column: span 1; }
}

/* Profile */
.dcl-profile { padding: 40px 0 120px; }
.dcl-profile-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
}
.dcl-profile-role {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 4px;
}
.dcl-profile-bio {
  font-size: 1.02rem; line-height: 1.9; color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.dcl-profile-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.dcl-pill {
  font-size: 0.7rem; padding: 6px 13px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65);
  border-radius: 2px; letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .dcl-profile-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Footer */
.dcl-footer {
  padding: 100px 52px 64px; text-align: center;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.dcl-footer-icon { width: 44px; height: auto; margin: 0 auto 28px; opacity: 0.9; }
.dcl-footer-name {
  font-family: inherit; font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300; letter-spacing: 0.04em; color: #fff; margin-bottom: 10px;
  text-transform: uppercase;
}
.dcl-footer-role {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 44px;
}
.dcl-footer-links { display: flex; justify-content: center; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.dcl-footer-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.5); text-decoration: none;
  letter-spacing: 0.08em; padding-bottom: 4px;
  border-bottom: 0.5px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.dcl-footer-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.dcl-footer-copy { font-size: 0.62rem; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; }

/* ── D Color Lab: LIGHT THEME (via shared body.theme-light toggle) ── */
body.theme-light .dcl { background: #ffffff; color: rgba(31,31,34,0.72); }
body.theme-light .dcl-nav { background: rgba(255,255,255,0.85); border-bottom-color: rgba(0,0,0,0.07); }
body.theme-light .dcl-nav-logo { color: var(--black); }
body.theme-light .dcl-nav-links a { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-nav-links a:hover { color: var(--black); }
body.theme-light .dcl-burger span { background: rgba(44,44,46,0.85); }
body.theme-light .dcl-hero { background: #ffffff; }
body.theme-light .dcl-hero-services { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-hero-scroll { color: rgba(44,44,46,0.3); }
body.theme-light .dcl-hero-scroll .scroll-line { background: rgba(44,44,46,0.25); }
body.theme-light .dcl-headline { color: var(--black); font-weight: 500; letter-spacing: -0.02em; }
body.theme-light .dcl-service-card { border-top-color: rgba(44,44,46,0.12); }
body.theme-light .dcl-service-title { color: var(--black); }
body.theme-light .dcl-service-desc { color: rgba(44,44,46,0.6); }
body.theme-light .dcl-work-group-title { color: var(--black); border-bottom-color: rgba(44,44,46,0.12); }
body.theme-light .dcl-video-embed { border-color: rgba(44,44,46,0.12); }
body.theme-light .dcl-video-caption { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-profile-role { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-profile-bio { color: rgba(44,44,46,0.65); }
body.theme-light .dcl-pill { background: rgba(44,44,46,0.06); color: rgba(44,44,46,0.7); }
body.theme-light .dcl-footer { border-top-color: rgba(44,44,46,0.1); }
body.theme-light .dcl-footer-name { color: var(--black); }
body.theme-light .dcl-footer-link { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-footer-link:hover { color: var(--black); border-bottom-color: rgba(44,44,46,0.3); }
body.theme-light .dcl-footer-copy { color: rgba(44,44,46,0.25); }

@media (max-width: 768px) {
  .dcl .dcl-inner { padding: 0 24px; }
  .dcl-services { padding: 88px 0; }
  .dcl-services-grid { grid-template-columns: 1fr; gap: 32px; }
  .dcl-work { padding: 24px 0 88px; }
  .dcl-profile { padding: 24px 0 88px; }
  .dcl-footer { padding: 72px 24px 48px; }
}

/* ═══════════════════════════════════════════════
   D COLOR LAB — Loading screen
   ═══════════════════════════════════════════════ */
.dcl-loader {
  position: fixed; inset: 0; z-index: 5000;
  background: #0a0908;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.dcl-loader.show {
  opacity: 1; visibility: visible; pointer-events: all;
  transition: opacity 0.3s ease;
}
.dcl-loader.hide {
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease 0.15s, visibility 0s 0.75s;
}
.dcl-loader-icon {
  width: 72px; height: auto;
  animation: dclLoaderPulse 1.1s ease-in-out infinite;
}
@keyframes dclLoaderPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dcl-loader-icon { animation: none; }
}

/* ═══════════════════════════════════════════════
   D COLOR LAB — Creative custom cursor (pointer devices only)
   ═══════════════════════════════════════════════ */
.dcl-cursor {
  position: fixed; top: 0; left: 0; z-index: 4000;
  width: 22px; height: 22px;
  margin-left: -11px; margin-top: -11px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate(-100px, -100px) scale(1);
  transition: opacity 0.25s ease, transform 0.15s ease-out, width 0.3s var(--easing), height 0.3s var(--easing), margin 0.3s var(--easing);
  will-change: transform;
}
.dcl-cursor.active { opacity: 1; }
.dcl-cursor.hover {
  width: 52px; height: 52px;
  margin-left: -26px; margin-top: -26px;
}
.dcl-cursor.dragging { width: 16px; height: 16px; margin-left: -8px; margin-top: -8px; }

/* Hide native cursor within D Color Lab on fine-pointer devices once the custom cursor is active */
body.dcl-cursor-on .dcl,
body.dcl-cursor-on .dcl a,
body.dcl-cursor-on .dcl button {
  cursor: none;
}

/* ═══════════════════════════════════════════════
   ARCHITECTURE — Cover / Landing quote screen
   ═══════════════════════════════════════════════ */
.arch-cover {
  height: 100vh; min-height: 640px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  background: #0a0908;
}
.arch-cover-marks {
  font-size: 0.85rem; letter-spacing: 0.5em; color: var(--accent);
  margin-bottom: 40px; padding-left: 0.5em; /* optical centering for the trailing tracked letter */
}
.arch-cover-quote {
  font-family: inherit; font-style: italic; font-weight: 300;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.32;
  color: #fff; max-width: 900px; margin: 0 0 28px;
  quotes: none;
}
.arch-cover-sub {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.arch-cover-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); text-decoration: none;
  transition: color 0.3s ease;
}
.arch-cover-scroll:hover { color: rgba(255,255,255,0.7); }
.arch-cover-scroll .scroll-line { width: 0.5px; height: 34px; background: rgba(255,255,255,0.22); display: block; }

body.theme-light .arch-cover { background: #0a0908; } /* cover always reads as a dark gatefold, even in light theme */

@media (max-width: 640px) {
  .arch-cover-marks { letter-spacing: 0.4em; font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════════
   ARCHITECTURE — Drawer trigger (-+=× morph icon)
   ═══════════════════════════════════════════════ */
.drawer-trigger {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 0.5px solid rgba(128,128,128,0.28);
  border-radius: 50%;
  background: rgba(128,128,128,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.drawer-trigger:hover { background: rgba(128,128,128,0.14); }
.drawer-trigger-symbol {
  font-size: 1.05rem; font-weight: 300; color: inherit;
  display: inline-block;
  transition: transform 0.45s var(--easing);
}
.drawer-trigger[aria-expanded="true"] .drawer-trigger-symbol { transform: rotate(135deg); }
.drawer-trigger[aria-expanded="true"] { transform: rotate(90deg); }

/* ═══════════════════════════════════════════════
   ARCHITECTURE — Slide-in drawer (top-right corner)
   ═══════════════════════════════════════════════ */
.arch-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(10,9,8,0.4);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.arch-drawer-backdrop.open { opacity: 1; visibility: visible; }

.arch-drawer {
  position: fixed; top: 0; right: 0; z-index: 1500;
  width: min(420px, 92vw); height: 100vh;
  background: #0a0908;
  border-left: 0.5px solid rgba(255,255,255,0.08);
  padding: 100px 44px 40px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.arch-drawer.open { transform: translateX(0); }

.arch-drawer-motif {
  font-size: 0.62rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
  flex-shrink: 0;
}
.arch-drawer-nav { display: flex; flex-direction: column; flex-shrink: 0; }
.arch-drawer-link {
  display: flex; align-items: center; gap: 16px;
  font-family: inherit; font-size: 1.3rem; font-weight: 300;
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 15px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08);
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left; cursor: pointer;
  transition: color 0.3s ease, padding-left 0.3s ease;
  flex-shrink: 0;
}
.arch-drawer-link:hover { color: #fff; padding-left: 6px; }
.arch-drawer-mark {
  font-size: 0.9rem; color: var(--accent); width: 16px; flex-shrink: 0;
}
.arch-drawer-projects-chevron {
  margin-left: auto; font-size: 1rem; color: rgba(255,255,255,0.3);
  transition: transform 0.35s ease;
}
.arch-drawer-projects-toggle[aria-expanded="true"] .arch-drawer-projects-chevron { transform: rotate(90deg); }

.arch-drawer-projects {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--easing);
  flex-shrink: 0;
}
.arch-drawer-projects.open { max-height: 400px; }
.arch-drawer-projects a {
  display: block; padding: 12px 0 12px 32px;
  font-size: 0.9rem; color: rgba(255,255,255,0.5); text-decoration: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.arch-drawer-projects a:hover { color: var(--accent); padding-left: 40px; }

.arch-drawer-preview {
  margin-top: 28px; height: 0; overflow: hidden;
  border-radius: 3px; opacity: 0;
  transition: height 0.4s var(--easing), opacity 0.4s ease;
  flex-shrink: 0;
}
.arch-drawer-preview.show { height: 160px; opacity: 1; }
.arch-drawer-preview img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.arch-drawer-theme-toggle { margin-top: auto; align-self: flex-start; padding-top: 28px; }

@media (max-width: 480px) {
  .arch-drawer { padding: 92px 28px 32px; }
  .arch-drawer-preview.show { height: 120px; }
}

/* Footer CTA (links to Google Form) */
.footer-cta {
  display: inline-block;
  font-size: 0.9rem; letter-spacing: 0.02em;
  color: var(--black); text-decoration: none;
  padding: 16px 30px; margin-bottom: 16px; margin-right: 14px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: #fff;
  transition: transform 0.3s var(--easing), box-shadow 0.3s ease;
  position: relative; z-index: 1;
}
.footer-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
body.theme-light .footer-cta {
  color: #fff; background: var(--black); border-color: var(--black);
}
body.theme-light .footer-cta:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.15); }

.footer-cta-secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}
.footer-cta-secondary:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
body.theme-light .footer-cta-secondary {
  background: transparent; color: var(--black); border-color: rgba(44,44,46,0.3);
}

/* ═══════════════════════════════════════════════
   D COLOR LAB — Redesigned hero (logo left, creative grid)
   ═══════════════════════════════════════════════ */
.dcl-hero {
  height: 100vh; min-height: 680px; position: relative;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 15% 30%, rgba(61,90,128,0.18) 0%, transparent 60%),
    #0a0908;
}
.dcl-hero-grid {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 52px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
}
.dcl-hero-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dcl-hero-logo { width: min(46vw, 220px); height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.55)); }
.dcl-hero-cities {
  display: flex; gap: 10px;
}
.dcl-hero-cities span {
  font-size: 0.62rem; letter-spacing: 0.14em;
  padding: 6px 12px; border: 0.5px solid rgba(255,255,255,0.22); border-radius: 999px;
  color: rgba(255,255,255,0.55);
}
.dcl-hero-tagline {
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 20px;
}
.dcl-hero-headline {
  font-family: inherit; font-weight: 300; line-height: 1.08;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  color: #fff; margin-bottom: 22px;
}
.dcl-hero-headline em { font-style: italic; color: var(--accent-cool); }
.dcl-hero-services {
  font-size: 0.92rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.5); max-width: 480px;
}
.dcl-hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.dcl-hero-scroll .scroll-line { width: 0.5px; height: 34px; background: rgba(255,255,255,0.2); }

@media (max-width: 900px) {
  .dcl-hero-grid { grid-template-columns: 1fr; text-align: left; gap: 32px; }
  .dcl-hero-logo { width: 140px; }
}

/* ═══ Animated transition heading ═══ */
.dcl-transition {
  padding: 140px 52px; text-align: center;
  background: #0a0908;
}
.dcl-transition-heading {
  font-family: inherit; font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.4;
  color: rgba(255,255,255,0.85); max-width: 780px; margin: 0 auto;
}

/* ═══ Portfolio category tabs ═══ */
.dcl-category-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: 999px; border: 0.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  margin-bottom: 48px;
}
.dcl-category-tab {
  border: none; background: none; cursor: pointer;
  padding: 10px 22px; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: background 0.3s ease, color 0.3s ease;
}
.dcl-category-tab.active { background: #fff; color: #0a0908; }
.dcl-category-panel { display: none; }
.dcl-category-panel.active { display: block; }

.dcl-empty-state {
  padding: 80px 32px; text-align: center;
  border: 0.5px dashed rgba(255,255,255,0.15); border-radius: 4px;
}
.dcl-empty-mark { font-size: 2rem; color: var(--accent-cool); margin-bottom: 18px; }
.dcl-empty-state p { font-size: 0.92rem; color: rgba(255,255,255,0.45); max-width: 420px; margin: 0 auto; line-height: 1.7; }

@media (max-width: 640px) {
  .dcl-category-tabs { display: flex; width: 100%; overflow-x: auto; }
}

/* ═══ About Us ═══ */
.dcl-about { padding: 40px 0 120px; }
.dcl-about-lede {
  font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,0.6);
  max-width: 640px; margin-bottom: 36px;
}
.dcl-about-services { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 64px; }
.dcl-about-why {
  padding-top: 40px; border-top: 0.5px solid rgba(255,255,255,0.12);
}
.dcl-about-why-label {
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 14px;
}
.dcl-about-why-statement {
  font-family: inherit; font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem); color: #fff;
}

/* ═══ Highlights / stats ═══ */
.dcl-highlights { padding: 40px 0 100px; }
.dcl-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-bottom: 20px;
}
.dcl-stat {
  text-align: center; padding: 40px 20px;
  border: 0.5px solid rgba(255,255,255,0.1); border-radius: 4px;
}
.dcl-stat-num {
  font-family: inherit; font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; line-height: 1;
  margin-bottom: 12px;
}
.dcl-stat-plus { color: var(--accent-cool); }
.dcl-stat-label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.dcl-stats-note {
  text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.25);
  font-style: italic;
}

@media (max-width: 700px) {
  .dcl-stats-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ═══ Testimonials ═══ */
.dcl-testimonials { padding: 40px 0 120px; }
.dcl-testimonial-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.dcl-testimonial-card {
  padding: 36px 28px; border: 0.5px solid rgba(255,255,255,0.1); border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.dcl-testimonial-quote-mark {
  font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--accent-cool);
  margin-bottom: 12px; opacity: 0.6;
}
.dcl-testimonial-quote {
  font-size: 0.92rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin-bottom: 20px;
  font-style: italic;
}
.dcl-testimonial-author {
  font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.35);
}

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

/* ═══ Contact — Let's Talk form ═══ */
.dcl-lets-talk { padding: 40px 0 120px; }
.dcl-lets-talk-sub {
  font-size: 1rem; color: rgba(255,255,255,0.5); margin-bottom: 44px; margin-top: -32px;
}
.dcl-contact-form { max-width: 640px; }
.dcl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dcl-form-field { margin-bottom: 22px; display: flex; flex-direction: column; }
.dcl-form-field label {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.dcl-form-field input, .dcl-form-field textarea {
  font-family: inherit; font-size: 0.95rem; color: #fff;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.18); border-radius: 3px;
  padding: 13px 16px; resize: vertical;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.dcl-form-field input:focus, .dcl-form-field textarea:focus {
  outline: none; border-color: var(--accent-cool); background: rgba(255,255,255,0.07);
}
.dcl-form-submit {
  font-family: inherit; font-size: 0.85rem; letter-spacing: 0.04em;
  color: #0a0908; background: #fff;
  border: none; border-radius: 999px; padding: 15px 34px; cursor: pointer;
  transition: transform 0.3s var(--easing), box-shadow 0.3s ease;
}
.dcl-form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,255,255,0.12); }
.dcl-form-note { font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-top: 16px; }

@media (max-width: 640px) {
  .dcl-form-row { grid-template-columns: 1fr; }
}

/* ═══ Footer additions: social icons + legal links ═══ */
.dcl-footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.dcl-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.dcl-social-icon:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.dcl-footer-legal {
  font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-bottom: 18px;
}
.dcl-footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.dcl-footer-legal a:hover { color: #fff; }
.dcl-footer-legal-sep { margin: 0 10px; }

/* ── D Color Lab: LIGHT THEME overrides for the new sections ── */
body.theme-light .dcl-hero { background: #ffffff; }
body.theme-light .dcl-hero-cities span { color: rgba(44,44,46,0.55); border-color: rgba(44,44,46,0.16); }
body.theme-light .dcl-hero-headline { color: var(--black); }
body.theme-light .dcl-hero-services { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-hero-scroll { color: rgba(44,44,46,0.3); }
body.theme-light .dcl-hero-scroll .scroll-line { background: rgba(44,44,46,0.25); }
body.theme-light .dcl-transition { background: #ffffff; }
body.theme-light .dcl-transition-heading { color: rgba(44,44,46,0.75); }
body.theme-light .dcl-category-tabs { border-color: rgba(44,44,46,0.14); background: rgba(44,44,46,0.02); }
body.theme-light .dcl-category-tab { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-category-tab.active { background: var(--black); color: #fff; }
body.theme-light .dcl-empty-state { border-color: rgba(44,44,46,0.15); }
body.theme-light .dcl-empty-state p { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-about-lede { color: rgba(44,44,46,0.65); }
body.theme-light .dcl-about-why { border-top-color: rgba(44,44,46,0.12); }
body.theme-light .dcl-about-why-statement { color: var(--black); }
body.theme-light .dcl-stat { border-color: rgba(44,44,46,0.12); }
body.theme-light .dcl-stat-num { color: var(--black); }
body.theme-light .dcl-stat-label { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-stats-note { color: rgba(44,44,46,0.3); }
body.theme-light .dcl-testimonial-card { border-color: rgba(44,44,46,0.12); background: rgba(44,44,46,0.015); }
body.theme-light .dcl-testimonial-quote { color: rgba(44,44,46,0.6); }
body.theme-light .dcl-testimonial-author { color: rgba(44,44,46,0.4); }
body.theme-light .dcl-lets-talk-sub { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-form-field label { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-form-field input, body.theme-light .dcl-form-field textarea {
  color: var(--black); background: rgba(44,44,46,0.02); border-color: rgba(44,44,46,0.18);
}
body.theme-light .dcl-form-field input:focus, body.theme-light .dcl-form-field textarea:focus {
  background: #fff; border-color: var(--accent);
}
body.theme-light .dcl-form-submit { background: var(--black); color: #fff; }
body.theme-light .dcl-form-note { color: rgba(44,44,46,0.35); }
body.theme-light .dcl-social-icon { border-color: rgba(44,44,46,0.2); color: rgba(44,44,46,0.55); }
body.theme-light .dcl-social-icon:hover { border-color: var(--black); color: var(--black); }
body.theme-light .dcl-footer-legal { color: rgba(44,44,46,0.35); }
body.theme-light .dcl-footer-legal a { color: rgba(44,44,46,0.45); }
body.theme-light .dcl-footer-legal a:hover { color: var(--black); }

@media (max-width: 768px) {
  .dcl-transition { padding: 88px 24px; }
  .dcl-about { padding: 24px 0 88px; }
  .dcl-highlights { padding: 24px 0 72px; }
  .dcl-testimonials { padding: 24px 0 88px; }
  .dcl-lets-talk { padding: 24px 0 88px; }
}

/* ═══ ARCHITECTURE — Transition statement (mirrors the D Color Lab transition) ═══ */
.arch-transition {
  padding: 100px 52px; text-align: center;
  background: var(--off-white);
}
body.theme-light .arch-transition { background: #ffffff; }
.arch-transition-text {
  font-family: inherit; font-weight: 300; font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.4;
  color: rgba(255,255,255,0.7); max-width: 720px; margin: 0 auto;
}
.arch-transition-text em { color: var(--accent); font-style: italic; }
body.theme-light .arch-transition-text { color: rgba(44,44,46,0.65); }
body.theme-light .arch-transition-text em { color: var(--accent); }

@media (max-width: 768px) {
  .arch-transition { padding: 64px 24px; }
}

/* ═══ Photography portfolio cards (Behance links) ═══ */
.dcl-photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.dcl-photo-card {
  display: block; padding: 32px 26px; text-decoration: none;
  border: 0.5px solid rgba(255,255,255,0.14); border-radius: 4px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, transform 0.3s var(--easing), background 0.3s ease;
}
.dcl-photo-card:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-4px); background: rgba(255,255,255,0.04); }
.dcl-photo-card-label {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-cool); margin-bottom: 14px;
}
.dcl-photo-card-title {
  font-family: inherit; font-size: 1.15rem; font-weight: 500; color: #fff; margin-bottom: 12px;
}
.dcl-photo-card-desc {
  font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.dcl-photo-card-link {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.dcl-photo-card:hover .dcl-photo-card-link { color: var(--accent-cool); }

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

/* ═══ Pending video slot (compact empty state inside a video grid) ═══ */
.dcl-empty-state-compact {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 20px;
}
.dcl-empty-state-compact .dcl-empty-mark { font-size: 1.4rem; margin-bottom: 10px; }
.dcl-empty-state-compact p { font-size: 0.78rem; }
.dcl-video-card-pending {
  border: 0.5px dashed rgba(255,255,255,0.15); border-radius: 3px;
  aspect-ratio: 16/9;
}

/* ═══ Full portfolio Drive button ═══ */
.dcl-portfolio-drive-btn {
  display: inline-flex; align-items: center;
  margin-top: 56px; padding: 15px 30px;
  font-size: 0.8rem; letter-spacing: 0.03em;
  color: #fff; text-decoration: none;
  border: 0.5px solid rgba(255,255,255,0.25); border-radius: 999px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--easing);
}
.dcl-portfolio-drive-btn:hover {
  border-color: #fff; background: rgba(255,255,255,0.06); transform: translateY(-2px);
}

/* ═══ Footer address line ═══ */
.dcl-footer-address {
  font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-bottom: 28px;
  max-width: 380px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ── Light theme overrides ── */
body.theme-light .dcl-photo-card { border-color: rgba(44,44,46,0.14); background: rgba(44,44,46,0.015); }
body.theme-light .dcl-photo-card:hover { border-color: rgba(44,44,46,0.35); background: rgba(44,44,46,0.03); }
body.theme-light .dcl-photo-card-title { color: var(--black); }
body.theme-light .dcl-photo-card-desc { color: rgba(44,44,46,0.55); }
body.theme-light .dcl-photo-card-link { color: rgba(44,44,46,0.6); }
body.theme-light .dcl-empty-state-compact p { color: rgba(44,44,46,0.5); }
body.theme-light .dcl-video-card-pending { border-color: rgba(44,44,46,0.16); }
body.theme-light .dcl-portfolio-drive-btn { color: var(--black); border-color: rgba(44,44,46,0.25); }
body.theme-light .dcl-portfolio-drive-btn:hover { border-color: var(--black); background: rgba(44,44,46,0.04); }
body.theme-light .dcl-footer-address { color: rgba(44,44,46,0.45); }

@media (max-width: 768px) {
  .dcl-portfolio-drive-btn { margin-top: 40px; width: 100%; justify-content: center; text-align: center; }
}

/* Timeline place as a clickable link (e.g. current employer website) */
.timeline-link {
  color: inherit; text-decoration: none;
  border-bottom: 0.5px solid rgba(196,114,42,0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.timeline-link:hover { color: var(--accent); border-color: var(--accent); }

/* ═══════════════════════════════════════════════
   ARCHITECTURE — Custom crosshair cursor (−+=× drafting motif)
   ═══════════════════════════════════════════════ */
.arch-cursor {
  position: fixed; top: 0; left: 0; z-index: 4000;
  width: 22px; height: 22px;
  margin-left: -11px; margin-top: -11px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-100px, -100px);
  transition: opacity 0.25s ease, transform 0.12s ease-out;
  will-change: transform;
  mix-blend-mode: difference;
}
.arch-cursor.active { opacity: 1; }
.arch-cursor-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.35s var(--easing), width 0.3s var(--easing), height 0.3s var(--easing);
}
.arch-cursor-line {
  position: absolute; background: #fff;
}
.arch-cursor-line-h { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.arch-cursor-line-v { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }

/* Hovering a link/interactive element: crosshair grows and rotates into an × (echoes the drawer trigger morph) */
.arch-cursor.hover .arch-cursor-inner {
  transform: scale(1.4) rotate(45deg);
}
.arch-cursor.hover .arch-cursor-line { background: var(--accent); }

/* Hide native cursor within Architecture on fine-pointer devices once the custom cursor is active */
body.arch-cursor-on #tab-architecture,
body.arch-cursor-on #tab-architecture a,
body.arch-cursor-on #tab-architecture button {
  cursor: none;
}


/* ═══════════════════════════════════════════════
   2026 TYPOGRAPHY + MOBILE TAB ROUTING UPGRADE
   Body copy: Poppins | Headings/UI: Montserrat
   ═══════════════════════════════════════════════ */
:root {
  --font-body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Poppins', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
}

/* Editorial headings / title-like elements */
h1, h2, h3, h4, h5, h6,
.hero-h1,
.about-headline,
.proj-name,
.arch-cover-quote,
.arch-transition-text,
.dcl-hero-headline,
.dcl-transition-heading,
.dcl-headline,
.dcl-service-title,
.dcl-work-group-title,
.dcl-about-why-statement,
.dcl-stat-num,
.dcl-footer-name,
.dcl-photo-card-title,
.legal-wrap h1,
.legal-wrap h2 {
  font-family: var(--font-heading) !important;
}

/* Brand/navigation labels and buttons use Montserrat with stronger weights for clarity */
button,
.nav-logo,
.dcl-nav-logo,
.tab-switch-btn,
.drawer-trigger,
.arch-drawer-link,
.nav-links a,
.dcl-nav-links a,
.mobile-nav-links a,
.dcl-category-tab,
.footer-cta,
.dcl-form-submit,
.dcl-portfolio-drive-btn,
.dcl-social-icon {
  font-family: var(--font-heading) !important;
}

button,
.tab-switch-btn,
.dcl-category-tab,
.footer-cta,
.dcl-form-submit,
.dcl-portfolio-drive-btn {
  font-weight: 600;
}

.nav-logo,
.dcl-nav-logo,
.nav-links a,
.dcl-nav-links a {
  font-weight: 600;
}

input, textarea, select, label,
p, li, span, a {
  font-family: var(--font-body);
}

/* Keep intentional drafting/code-style metadata monospaced where already specified. */
.proj-side-num,
.proj-coords {
  font-family: monospace;
}

/* Shareable route pre-paint state. This prevents /d-color-lab briefly flashing Architecture. */
html[data-initial-tab="dcolorlab"] #tab-architecture { display: none; }
html[data-initial-tab="dcolorlab"] #tab-dcolorlab { display: block; }

/* Dedicated portrait/mobile primary tab switch. Desktop keeps the original in-nav switch. */
.mobile-site-tabs {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile browser chrome changes height while scrolling; dynamic viewport units avoid jumps/cropping. */
  .arch-cover,
  #hero,
  .dcl-hero {
    min-height: 100svh;
  }

  @supports (height: 100dvh) {
    .arch-cover,
    #hero,
    .dcl-hero {
      min-height: 100dvh;
    }
  }

  /* Always-visible Architecture / D Color Lab tabs in portrait. */
  .mobile-site-tabs {
    position: fixed;
    z-index: 1050;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: min(356px, calc(100vw - 24px));
    padding: 4px;
    gap: 3px;
    border: 1px solid rgba(44,44,46,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 28px rgba(10,9,8,0.08);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .mobile-site-tabs .tab-switch-btn {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.065em;
    text-align: center;
    color: rgba(31,31,34,0.6);
  }

  .mobile-site-tabs .tab-switch-btn.active {
    background: var(--black);
    color: #fff;
  }

  body:not(.theme-light) .mobile-site-tabs {
    background: rgba(10,9,8,0.88);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  }

  body:not(.theme-light) .mobile-site-tabs .tab-switch-btn {
    color: rgba(255,255,255,0.58);
  }

  body:not(.theme-light) .mobile-site-tabs .tab-switch-btn.active {
    background: rgba(255,255,255,0.95);
    color: #0a0908;
  }

  /* The DCL hamburger previously contained the only mobile copy of the tabs. Keep one clear source of truth. */
  .dcl-mobile-menu .tab-switch-mobile {
    display: none;
  }

  /* Portrait nav spacing: preserve logo + menu without collision. */
  nav,
  .dcl-nav {
    height: 56px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-logo,
  .dcl-nav-logo {
    max-width: calc(100vw - 82px);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drawer-trigger,
  .dcl-burger {
    flex: 0 0 auto;
  }

  /* Leave visual breathing room under the persistent tab row without changing desktop composition. */
  .arch-cover,
  .dcl-hero {
    padding-top: 52px;
  }

  .dcl-hero-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .dcl-hero-headline {
    font-size: clamp(2rem, 10.2vw, 3.1rem);
    overflow-wrap: anywhere;
  }

  .dcl-hero-services,
  .hero-bio,
  .dcl-about-lede,
  .dcl-profile-bio {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .dcl-category-tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
  }
  .dcl-category-tabs::-webkit-scrollbar { display: none; }

  /* Avoid accidental horizontal overflow on narrow portrait screens. */
  .tab-panel,
  .dcl,
  .dcl-inner,
  .hero-inner,
  .proj-inner,
  .about-inner {
    max-width: 100%;
  }

  img, video, iframe, svg {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .mobile-site-tabs {
    width: calc(100vw - 18px);
    top: 61px;
  }

  .mobile-site-tabs .tab-switch-btn {
    font-size: 0.61rem;
    letter-spacing: 0.04em;
    padding-inline: 7px;
  }

  .nav-logo,
  .dcl-nav-logo {
    font-size: 0.72rem;
  }

  .dcl-nav-logo-icon {
    width: 17px;
  }
}


/* ═══════════════════════════════════════════════
   ARCHITECTURE BRAND + SOLID PROJECT TAGS — v2
   ═══════════════════════════════════════════════ */
#tab-architecture .nav-logo {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: 0.075em;
  color: rgba(255,255,255,0.98);
}
body.theme-light #tab-architecture .nav-logo {
  color: var(--black);
}
#tab-architecture .proj-category {
  background: #1f1f22 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-left: 3px solid var(--accent) !important;
  border-radius: 1px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: 0.09em;
}
#tab-architecture .proj-category::before {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
}
@media (max-width: 768px) {
  #tab-architecture .nav-logo {
    font-weight: 800 !important;
    letter-spacing: 0.055em;
  }
  #tab-architecture .proj-category {
    font-size: 0.68rem;
    padding: 9px 12px;
    letter-spacing: 0.075em;
    white-space: nowrap;
  }
}


/* ═══════════════════════════════════════════════
   ARCHITECTURE CONTENT UPDATE — v3
   Sanskriti alignment + stronger editorial treatment
   ═══════════════════════════════════════════════ */

#tab-architecture #sanskriti .proj-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  text-align: left;
}

#tab-architecture #sanskriti .proj-category {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 10px 15px;
  background: #171719 !important;
  color: #fff !important;
  border-left: 4px solid var(--accent) !important;
  border-radius: 0 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.72rem;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

#tab-architecture #sanskriti .proj-name {
  margin: 0;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

#tab-architecture #sanskriti .proj-location {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

#tab-architecture .award-title {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
}

#tab-architecture .footer-whatsapp {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  #tab-architecture #sanskriti .proj-title-block {
    gap: 9px;
  }

  #tab-architecture #sanskriti .proj-category {
    padding: 8px 11px;
    font-size: 0.62rem;
    letter-spacing: 0.065em;
    white-space: normal;
  }

  #tab-architecture #sanskriti .proj-name {
    font-size: clamp(2.2rem, 11vw, 4.6rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  #tab-architecture #sanskriti .proj-location {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}


/* ═══════════════════════════════════════════════
   ARCHITECTURE PROJECT HERO SYSTEM — v6
   Same layout for every project; minimal light tags
   ═══════════════════════════════════════════════ */

#tab-architecture .project-section .proj-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  text-align: left;
  min-width: 0;
}

#tab-architecture .project-section .proj-category {
  display: inline-flex !important;
  width: auto;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 12px 9px 11px;

  /* simple minimal treatment — NO black/liquid background */
  background: rgba(255,255,255,0.92) !important;
  color: #171719 !important;
  border: 1px solid rgba(23,23,25,0.16) !important;
  border-left: 3px solid var(--accent) !important;
  border-radius: 1px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  font-family: var(--font-heading) !important;
  font-size: 0.69rem;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: normal;
}

#tab-architecture .project-section .proj-category::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 0 !important;
  background: var(--accent) !important;
  box-shadow: none !important;
}

#tab-architecture .project-section .proj-name {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-heading) !important;
  font-size: clamp(3rem, 6.25vw, 6.75rem);
  font-weight: 800 !important;
  line-height: 0.91;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

#tab-architecture .project-section .proj-location {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-body) !important;
  font-size: 0.66rem;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Keep the tag readable over every project image in either site theme. */
body.theme-light #tab-architecture .project-section .proj-category,
body.theme-dark #tab-architecture .project-section .proj-category {
  background: rgba(255,255,255,0.92) !important;
  color: #171719 !important;
  border-color: rgba(23,23,25,0.16) !important;
  border-left-color: var(--accent) !important;
}

@media (max-width: 768px) {
  #tab-architecture .project-section .proj-title-block {
    gap: 9px;
  }

  #tab-architecture .project-section .proj-category {
    padding: 8px 10px 8px 9px;
    font-size: 0.59rem;
    font-weight: 700 !important;
    letter-spacing: 0.055em;
  }

  #tab-architecture .project-section .proj-name {
    font-size: clamp(2.15rem, 10.8vw, 4.3rem);
    line-height: 0.93;
    letter-spacing: -0.042em;
  }

  #tab-architecture .project-section .proj-location {
    font-size: 0.58rem;
    letter-spacing: 0.035em;
  }
}


/* ═══════════════════════════════════════════════
   ARCHITECTURE PROJECT HERO SYSTEM — v7
   Plain category text + unified Sanskriti layout
   ═══════════════════════════════════════════════ */

#tab-architecture .project-section .proj-title-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  text-align: left !important;
  min-width: 0 !important;
}

#tab-architecture .project-section .proj-category {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  color: #171719 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  font-family: var(--font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

#tab-architecture .project-section .proj-category::before,
#tab-architecture .project-section .proj-category::after {
  content: none !important;
  display: none !important;
}

#tab-architecture .project-section .proj-name {
  margin: 0 !important;
  max-width: 100% !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(3rem, 6.25vw, 6.75rem) !important;
  font-weight: 800 !important;
  line-height: 0.91 !important;
  letter-spacing: -0.045em !important;
  text-transform: uppercase !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#tab-architecture .project-section .proj-location {
  margin: 0 !important;
  max-width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
}

/* Same visual hierarchy in both site themes */
body.theme-light #tab-architecture .project-section .proj-category,
body.theme-dark #tab-architecture .project-section .proj-category {
  background: transparent !important;
  color: #171719 !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  #tab-architecture .project-section .proj-title-block {
    gap: 8px !important;
  }

  #tab-architecture .project-section .proj-category {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.25 !important;
  }

  #tab-architecture .project-section .proj-name {
    font-size: clamp(2.15rem, 10.8vw, 4.3rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.042em !important;
  }

  #tab-architecture .project-section .proj-location {
    font-size: 0.58rem !important;
    letter-spacing: 0.035em !important;
  }
}


/* ═══════════════════════════════════════════════
   ARCHITECTURE PROJECT HERO SYSTEM — v8
   Unified Sanskriti hierarchy across all projects
   ═══════════════════════════════════════════════ */

#tab-architecture .project-section .proj-fullbleed-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 40px !important;
}

#tab-architecture .project-section .proj-title-block {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  text-align: left !important;
}

/* Project number now uses the SAME black text colour.
   Lower opacity keeps the large numeral secondary to the project title. */
#tab-architecture .project-section .proj-num,
body.theme-light #tab-architecture .project-section .proj-num {
  display: block;
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0 !important;
  color: #171719 !important;
  opacity: 0.18 !important;
  -webkit-text-stroke: 0 transparent !important;
  text-stroke: 0 transparent !important;
  font-family: var(--font-heading) !important;
  font-weight: 500 !important;
  line-height: 0.82 !important;
  letter-spacing: -0.055em !important;
}

/* Category / semester = SIMPLE PLAIN BLACK TEXT */
#tab-architecture .project-section .proj-category,
body.theme-light #tab-architecture .project-section .proj-category,
body:not(.theme-light) #tab-architecture .project-section .proj-category {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #171719 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: var(--font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

#tab-architecture .project-section .proj-category::before,
#tab-architecture .project-section .proj-category::after {
  content: none !important;
  display: none !important;
}

#tab-architecture .project-section .proj-name {
  margin: 0 !important;
  max-width: 100% !important;
  color: #171719 !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(3rem, 6.25vw, 6.75rem) !important;
  font-weight: 800 !important;
  line-height: 0.91 !important;
  letter-spacing: -0.045em !important;
  text-transform: uppercase !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#tab-architecture .project-section .proj-location {
  margin: 0 !important;
  max-width: 100% !important;
  color: rgba(23,23,25,0.48) !important;
  font-family: var(--font-body) !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase !important;
}

/* Tab switch hardening — keep both controls clickable and above project content. */
.tab-switch,
.mobile-site-tabs {
  isolation: isolate;
}

.tab-switch-btn {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  #tab-architecture .project-section .proj-fullbleed-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  /* Preserve the mobile layout: number becomes a small, readable black label. */
  #tab-architecture .project-section .proj-num,
  body.theme-light #tab-architecture .project-section .proj-num {
    display: block !important;
    order: 0;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.05em !important;
    opacity: 1 !important;
  }

  #tab-architecture .project-section .proj-title-block {
    order: 1;
    gap: 8px !important;
  }

  #tab-architecture .project-section .proj-category {
    font-size: 0.60rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.25 !important;
  }

  #tab-architecture .project-section .proj-name {
    font-size: clamp(2.15rem, 10.8vw, 4.3rem) !important;
    line-height: 0.93 !important;
    letter-spacing: -0.042em !important;
  }

  #tab-architecture .project-section .proj-location {
    font-size: 0.58rem !important;
    letter-spacing: 0.035em !important;
  }

  .mobile-site-tabs {
    pointer-events: auto !important;
  }
}


/* ═══════════════════════════════════════════════
   NAV TAB POSITION SYNC — v9
   Architecture + D Color Lab switch stay in exactly the same position
   ═══════════════════════════════════════════════ */
@media (min-width: 769px) {
  #tab-architecture > nav .tab-switch,
  #tab-dcolorlab > .dcl-nav .tab-switch {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 4 !important;
  }
}

/* Keep the newly supplied landscape portrait inside the existing portrait slot. */
#tab-architecture .hero-photo-wrap {
  width: 100%;
  max-width: 380px;
}

#tab-architecture .hero-photo {
  width: 100% !important;
  max-width: 380px !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 42%;
}

@media (max-width: 768px) {
  #tab-architecture .hero-photo-wrap {
    width: 100%;
    max-width: 300px !important;
  }

  #tab-architecture .hero-photo {
    width: 100% !important;
    max-width: 300px !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 42%;
  }
}


/* ═══════════════════════════════════════════════
   FINAL V11 — PROJECT COVERS + AWARDS CLEANUP
   ═══════════════════════════════════════════════ */

/* The large awards counter was intentionally removed. */
#tab-architecture .awards-header {
  align-items: flex-end;
}

/* User-supplied project cover pages are 16:9 compositions. */
#tab-architecture .project-section .proj-fullbleed > img {
  object-position: center center;
}

/* Keep cards balanced when the final National Level item has no subtitle. */
#tab-architecture .award-card .award-year {
  margin-top: 6px;
}


/* ═══════════════════════════════════════════════
   V12 LAUNCH PASS
   Architecture cleanup + minimal D Color Lab studio
   ═══════════════════════════════════════════════ */

/* ----- ARCHITECTURE: stronger orange text accents ----- */
#tab-architecture .hero-eyebrow,
#tab-architecture .section-tag,
#tab-architecture .timeline-date,
#tab-architecture .arch-cover-marks,
#tab-architecture .arch-drawer-mark {
  color: #a85d1f !important;
  font-weight: 700;
}

#tab-architecture .hero-eyebrow { font-size: 0.72rem !important; }
#tab-architecture .section-tag { font-size: 0.69rem !important; }
#tab-architecture .timeline-date { font-size: 0.71rem !important; }
#tab-architecture .arch-cover-marks { font-size: 0.94rem !important; }
#tab-architecture .arch-drawer-mark { font-size: 1rem !important; }

/* No user-facing dark-theme control remains. */
#tab-architecture .theme-toggle,
#tab-architecture .arch-drawer-theme-toggle {
  display: none !important;
}

/* ----- ARCHITECTURE ASSETS ----- */
.arch-assets-section {
  padding: 110px 0 120px;
  background: #f7f5f0;
  border-top: 1px solid rgba(23,23,25,0.08);
}

.arch-assets-placeholder {
  max-width: 760px;
  padding-top: 34px;
  border-top: 1px solid rgba(23,23,25,0.18);
}

.arch-assets-status {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #171719;
  margin-bottom: 18px;
}

.arch-assets-placeholder p {
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(23,23,25,0.56);
}

/* ----- D COLOR LAB: more studio, less agency ----- */
#tab-dcolorlab {
  background: #0a0908;
}

#tab-dcolorlab .dcl-hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

#tab-dcolorlab .dcl-hero-tagline,
#tab-dcolorlab .dcl-section-tag {
  font-family: var(--font-heading);
  font-weight: 600;
}

#tab-dcolorlab .dcl-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.035em;
}

#tab-dcolorlab .dcl-nav-links {
  gap: 24px;
  margin-right: 18px;
}

/* Selected work media cards */
.dcl-photo-grid-visual {
  align-items: stretch;
}

.dcl-photo-card-media {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 2px !important;
}

.dcl-photo-media {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

.dcl-photo-cover,
.dcl-photo-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dcl-photo-media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.dcl-motion-preview.is-playing video {
  opacity: 1;
}

.dcl-motion-preview.is-playing .dcl-photo-cover {
  opacity: 0;
}

.dcl-photo-cover {
  transition: transform 500ms var(--easing), opacity 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .dcl-photo-card-media:hover .dcl-photo-cover {
    transform: scale(1.02);
  }
}

.dcl-motion-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(10,9,8,0.78);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  cursor: pointer;
}

.dcl-photo-card-content {
  padding: 22px 22px 24px;
}

.dcl-photo-card-content .dcl-photo-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.dcl-photo-card-content .dcl-photo-card-desc {
  margin-bottom: 0;
}

/* Direct local VFX videos */
.dcl-video-embed-local video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

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

.dcl-vfx-direct-grid .dcl-video-caption {
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

/* DCL LAB */
.dcl-lab-section {
  padding: 80px 0 120px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.dcl-lab-lede {
  max-width: 700px;
  margin-top: -30px;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.52);
}

.dcl-lab-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dcl-lab-placeholder-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
}

.dcl-lab-index {
  margin-bottom: auto;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--accent-cool);
}

.dcl-lab-placeholder-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 10px;
}

.dcl-lab-placeholder-card p {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.dcl-route-note {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}

/* Studio and Assets */
#dcl-studio {
  padding-top: 70px;
}

.dcl-assets-section {
  padding: 70px 0 120px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.dcl-assets-placeholder {
  padding: 38px 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 760px;
}

.dcl-assets-status {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 16px;
}

.dcl-assets-placeholder p {
  max-width: 640px;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
}

/* Make launch DCL visually leaner. */
#tab-dcolorlab .dcl-about-services {
  margin-bottom: 52px;
}

#tab-dcolorlab .dcl-footer-role {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Mobile */
@media (max-width: 768px) {
  .arch-assets-section {
    padding: 78px 0 88px;
  }

  #tab-dcolorlab .dcl-hero-headline {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  #tab-dcolorlab .dcl-hero-services {
    font-size: 0.78rem;
    line-height: 1.8;
  }

  .dcl-photo-media {
    aspect-ratio: 4 / 3;
  }

  .dcl-vfx-direct-grid,
  .dcl-lab-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .dcl-lab-placeholder-card {
    min-height: 210px;
  }

  .dcl-lab-lede {
    margin-top: -24px;
  }

  .dcl-motion-toggle {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.6rem;
  }
}


/* V12 tablet navigation safety */
@media (max-width: 1100px) and (min-width: 769px) {
  #tab-dcolorlab .dcl-nav-links {
    display: none !important;
  }

  #tab-dcolorlab .dcl-burger {
    display: flex !important;
  }
}


/* ═══════════════════════════════════════════════
   V12.1 TAB ISOLATION FIX
   Only one complete portfolio tab may render at a time.
   ═══════════════════════════════════════════════ */
.tab-panel {
  display: none !important;
}

.tab-panel.active {
  display: block !important;
}

.tab-panel[hidden] {
  display: none !important;
}

html[data-initial-tab="architecture"] #tab-dcolorlab {
  display: none !important;
}

html[data-initial-tab="dcolorlab"] #tab-architecture {
  display: none !important;
}

html[data-initial-tab="dcolorlab"] #tab-dcolorlab.active,
html[data-initial-tab="architecture"] #tab-architecture.active {
  display: block !important;
}
