/* Standard Verdana typography uses locally available system fonts. */

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

:root, .light {
  --bg: hsl(0,0%,98%);
  --fg: hsl(0,0%,0%);
  --card: hsl(0,0%,100%);
  --card-fg: hsl(0,0%,0%);
  --primary: hsl(40,80%,42%);
  --primary-fg: hsl(0,0%,100%);
  --secondary: hsl(0,0%,90%);
  --secondary-fg: hsl(0,0%,0%);
  --muted: hsl(0,0%,90%);
  --muted-fg: hsl(0,0%,10%);
  --border: hsl(0,0%,80%);
  --destructive: hsl(0,84%,60%);
  --radius: 0.25rem;
}
.dark {
  --bg: hsl(0,0%,8%);
  --fg: hsl(0,0%,100%);
  --card: hsl(0,0%,12%);
  --card-fg: hsl(0,0%,100%);
  --primary: hsl(40,80%,50%);
  --primary-fg: hsl(0,0%,0%);
  --secondary: hsl(0,0%,18%);
  --secondary-fg: hsl(0,0%,100%);
  --muted: hsl(0,0%,18%);
  --muted-fg: hsl(0,0%,85%);
  --border: hsl(0,0%,25%);
  --radius: 0.25rem;
}
.luxury {
  --bg: hsl(222,47%,9%);
  --fg: hsl(45,30%,98%);
  --card: hsl(222,47%,12%);
  --card-fg: hsl(45,30%,98%);
  --primary: hsl(43,85%,50%);
  --primary-fg: hsl(222,47%,9%);
  --secondary: hsl(222,47%,15%);
  --secondary-fg: hsl(45,30%,98%);
  --muted: hsl(222,47%,15%);
  --muted-fg: hsl(45,20%,85%);
  --border: hsl(222,47%,22%);
  --radius: 0;
}
.earth {
  --bg: hsl(30,20%,96%);
  --fg: hsl(20,20%,0%);
  --card: hsl(30,20%,98%);
  --card-fg: hsl(20,20%,0%);
  --primary: hsl(15,60%,40%);
  --primary-fg: hsl(30,20%,98%);
  --secondary: hsl(30,15%,88%);
  --secondary-fg: hsl(20,20%,0%);
  --muted: hsl(30,15%,88%);
  --muted-fg: hsl(20,15%,15%);
  --border: hsl(30,15%,80%);
  --radius: 1rem;
}
.sanjay-puri {
  --bg: hsl(0,0%,100%);
  --fg: hsl(0,0%,0%);
  --card: hsl(0,0%,100%);
  --card-fg: hsl(0,0%,0%);
  --primary: hsl(38,85%,45%);
  --primary-fg: hsl(0,0%,100%);
  --secondary: hsl(0,0%,95%);
  --secondary-fg: hsl(0,0%,0%);
  --muted: hsl(0,0%,95%);
  --muted-fg: hsl(0,0%,10%);
  --border: hsl(0,0%,80%);
  --radius: 0;
}

html { scroll-behavior: smooth; }
body {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection { background: hsla(40,68%,55%,0.2); color: var(--primary); }
h1, h2, h3, h4, h5, h6 { font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
input, textarea, select { font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }

/* NAV */
.navbar {
  width: 100%;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.navbar .nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media(min-width:768px) {
  .navbar .nav-inner { flex-direction: row; justify-content: space-between; }
}
.logo { cursor: pointer; text-align: center; }
@media(min-width:768px) { .logo { text-align: left; } }
.logo-name {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.logo-s { font-size: 1.875rem; font-style: normal; margin-right: 0.15rem; color: var(--primary); }
.logo-sub {
  display: block;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
  background: none;
  border: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: currentColor;
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* THEME SWITCHER */
.theme-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  margin-left: 0.5rem;
}
.theme-btn:hover { background: var(--muted); }
.theme-btn svg { width: 1rem; height: 1rem; }
.theme-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 10rem;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
}
.theme-dropdown.open { display: block; }
.theme-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--fg);
}
.theme-option:hover { background: var(--muted); }

/* MAIN */
main { flex: 1; }

/* HERO */
.hero {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero-img {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 10s;
}
.hero:hover .hero-img img { transform: scale(1.05); }
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%, transparent 100%);
  opacity: 0.9;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.hero h1 {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease 0.2s both;
}
@media(min-width:768px) { .hero h1 { font-size: 6rem; } }
@media(max-width:767px) { .hero { height: 72vh; } .hero h1 { font-size: 2.4rem; } .hero p { font-size: 1rem; } }
.hero h1 span { color: var(--primary); font-style: italic; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  max-width: 40rem;
  animation: fadeIn 1s ease 0.6s both;
}
.hero .cta {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  animation: fadeInUp 0.8s ease 1s both;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.hero .cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.hero.hero-light-bg {
  background: #f3f2ee;
}
.hero.hero-light-bg .hero-img {
  opacity: 0.92;
}
.hero.hero-light-bg .hero-img img {
  filter: none;
  object-fit: cover;
}
.hero.hero-light-bg .hero-gradient {
  background: linear-gradient(to top, var(--bg) 0%, rgba(255,255,255,0.45) 38%, transparent 68%);
  opacity: 1;
}
.hero.hero-light-bg h1 {
  color: #161616;
}
.hero.hero-light-bg h1 span {
  color: var(--primary);
}
.hero.hero-light-bg p {
  color: rgba(22,22,22,0.78);
}
.hero.hero-light-bg .cta {
  background: var(--primary);
  color: #161616;
  border-color: var(--primary);
}
.hero.hero-light-bg .cta:hover {
  background: #161616;
  color: #fff;
  border-color: #161616;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero-img img { transition: none; }
  .hero:hover .hero-img img { transform: none; }
  .hero h1, .hero p, .hero .cta { animation: none; }
}

/* SECTIONS */
.section {
  padding: 6rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.section-header h1 {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  text-transform: uppercase;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.grid-2 > *, .about-home > * { min-width: 0; }
@media(min-width:768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width:640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media(min-width:768px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ABOUT HOME SECTION (Homepage Luxury 2-Column Layout) */
.section.about-home-section,
.about-home-section {
  width: 100%;
  max-width: 94rem;
  padding: 5rem 2rem;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.about-home,
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.about-home > *,
.about-home-grid > * {
  min-width: 0;
}

.about-home-content {
  width: 100%;
  box-sizing: border-box;
}

.about-home h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}
@media(min-width:768px) { .about-home h2 { font-size: 2.25rem; } }
.about-home p {
  color: var(--muted-fg);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-home .about-lead-strong {
  color: var(--fg);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-home .about-signature {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--fg);
  border-left: 2px solid var(--primary);
  padding-left: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Tablet & Desktop Side-by-Side: Text on Left (compact reading width), Wide Stage on Right */
@media(min-width: 768px) {
  .about-home,
  .about-home-grid {
    grid-template-columns: minmax(18rem, 23rem) 1fr;
    gap: 3rem;
  }
}

@media(min-width: 1024px) {
  .section.about-home-section,
  .about-home-section {
    padding: 5.5rem 3rem;
  }
  .about-home,
  .about-home-grid {
    grid-template-columns: minmax(20rem, 26rem) 1fr;
    gap: 4rem;
  }
}

@media(max-width:767px) {
  .about-home .about-lead-strong { font-size: 1rem; }
  .about-home .about-signature { font-size: 1.15rem; }
}

.read-more {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 0.25rem;
  transition: all 0.3s;
  display: inline-block;
}
.read-more:hover { color: var(--primary); border-color: var(--primary); }

/* HOMEPAGE VISUAL EFFECT CONTAINER */
#homeAboutComp {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg), var(--muted));
  min-height: 25rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
#homeAboutComp.about-images {
  border: none;
  background: transparent;
  min-height: 0;
  overflow: visible;
}
.about-images img { width: 100%; height: 26rem; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(35, 28, 16, 0.12); transition: transform 0.5s ease; }
.about-images img:hover { transform: scale(1.02); }
.about-images img:last-child { margin-top: 3.5rem; }

@media(max-width:899px) {
  .about-images img { height: 18rem; }
  .about-images img:last-child { margin-top: 2rem; }
}
@media(max-width:767px) {
  .about-images img { height: 13rem; }
  .about-images img:last-child { margin-top: 1.5rem; }
}

/* Visual Effects mode (#homeAboutComp.ve) */
#homeAboutComp.ve {
  width: 100%;
  min-height: 28rem;
  height: 29rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(35, 28, 16, 0.08);
  overflow: hidden;
  position: relative;
}

@media(min-width:1400px) {
  #homeAboutComp.ve {
    min-height: 31rem;
    height: 31rem;
  }
}

@media(max-width:899px) {
  #homeAboutComp.ve {
    min-height: 25rem;
    height: 26rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(35, 28, 16, 0.08);
  }
}

@media(max-width:639px) {
  #homeAboutComp.ve {
    min-height: 22rem;
    height: 23rem;
  }
}

.home-about-comp .hac-item { position: relative; display: block; overflow: hidden; background: var(--muted); border-radius: var(--radius); box-shadow: 0 14px 32px rgba(35, 28, 16, 0.1); }
.home-about-comp .hac-item img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; transition: transform 0.6s ease; }
.home-about-comp .hac-item:hover img { transform: scale(1.02); }
.home-about-comp .hac-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 0.8rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.65)); opacity: 0; transition: opacity 0.3s; }
.home-about-comp .hac-item:hover .hac-cap, .home-about-comp .hac-item:focus-visible .hac-cap { opacity: 1; }
.home-about-comp.count-1 { grid-template-columns: 1fr; }
.home-about-comp.count-1 .hac-item { aspect-ratio: 16/10; }
.home-about-comp.count-1 img { height: 100%; }
.home-about-comp.count-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.home-about-comp.count-2 .hac-item { aspect-ratio: 3/4; }
.home-about-comp.count-2 .pos-2 { margin-top: 3.5rem; }
.home-about-comp.count-2 img { height: 100%; }
.home-about-comp.count-3 { grid-template-columns: 1fr 1fr; grid-template-areas: 'a a' 'b c'; }
.home-about-comp.count-3 .pos-1 { grid-area: a; aspect-ratio: 16/9; }
.home-about-comp.count-3 .pos-2 { grid-area: b; aspect-ratio: 3/4; margin-top: -1rem; }
.home-about-comp.count-3 .pos-3 { grid-area: c; aspect-ratio: 3/4; margin-top: 1.5rem; }
.home-about-comp.count-4 { grid-template-columns: 1.4fr 1fr; grid-template-areas: 'a b' 'a c' 'd d'; }
.home-about-comp.count-4 .pos-1 { grid-area: a; aspect-ratio: 3/4; min-height: 100%; }
.home-about-comp.count-4 .pos-1 img { height: 100%; min-height: 24rem; }
.home-about-comp.count-4 .pos-2 { grid-area: b; aspect-ratio: 16/10; }
.home-about-comp.count-4 .pos-3 { grid-area: c; aspect-ratio: 16/10; }
.home-about-comp.count-4 .pos-4 { grid-area: d; aspect-ratio: 16/8; }
.home-about-comp.count-5 { grid-template-columns: repeat(4, 1fr); grid-template-areas: 'a a b c' 'a a d e'; }
.home-about-comp.count-5 .pos-1 { grid-area: a; min-height: 100%; }
.home-about-comp.count-5 .pos-1 img { height: 100%; min-height: 26rem; }
.home-about-comp.count-5 .pos-2 { grid-area: b; aspect-ratio: 1/1; }
.home-about-comp.count-5 .pos-3 { grid-area: c; aspect-ratio: 1/1; }
.home-about-comp.count-5 .pos-4 { grid-area: d; aspect-ratio: 1/1; }
.home-about-comp.count-5 .pos-5 { grid-area: e; aspect-ratio: 1/1; }
.gallery-item.featured-home { outline: 1px solid var(--primary); }
.home-badge { position: absolute; top: 0.25rem; left: 0.25rem; background: var(--primary); color: var(--primary-fg); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: var(--radius); }
@media(max-width:767px) {
  .home-about-comp.count-2, .home-about-comp.count-3, .home-about-comp.count-4, .home-about-comp.count-5 { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .home-about-comp.count-2 .hac-item, .home-about-comp.count-3 .hac-item, .home-about-comp.count-4 .hac-item, .home-about-comp.count-5 .hac-item { grid-area: auto; aspect-ratio: 4/3; margin-top: 0; min-height: 0; }
  .home-about-comp.count-2 .hac-item img, .home-about-comp.count-3 .hac-item img, .home-about-comp.count-4 .hac-item img, .home-about-comp.count-5 .hac-item img { min-height: 0; height: 100%; }
  .home-about-comp.count-1 .hac-item { aspect-ratio: 4/3; }
  .home-about-comp .hac-cap { opacity: 1; }
}
@media(min-width:768px) and (max-width:1023px) {
  .home-about-comp.count-5 { grid-template-columns: 1fr 1fr; grid-template-areas: 'a a' 'b c' 'd e'; }
  .home-about-comp.count-5 .pos-1 { aspect-ratio: 16/9; }
  .home-about-comp.count-5 .pos-1 img { min-height: 0; }
}

/* ABOUT PAGE */
.about-page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
@media (min-width: 768px) {
  .about-page { padding: 0 2.5rem 6rem; }
}

.about-eyebrow {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}

.about-hero {
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-hero { padding: 5.5rem 0 6rem; }
}

.about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}
.about-hero-place {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 400;
  margin: 0;
}

.about-hero-title {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.35rem, 7vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 2.5rem;
  color: var(--fg);
}
@media (min-width: 768px) {
  .about-hero-title { margin-bottom: 3.5rem; }
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
}
@media (min-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: start;
  }
}

.about-lead {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted-fg);
  margin: 0;
}
.about-lead-secondary {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--fg);
  padding-top: 0.15rem;
}
@media (min-width: 768px) {
  .about-lead-secondary {
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
  }
}

.about-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-section { padding: 5.5rem 0; }
}

.about-heading {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 2rem;
  max-width: 22ch;
  color: var(--fg);
}
@media (min-width: 768px) {
  .about-heading { margin-bottom: 2.75rem; }
}

.about-belief,
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .about-belief,
  .about-split {
    grid-template-columns: minmax(16rem, 0.9fr) 1.1fr;
    gap: 4.5rem;
    align-items: start;
  }
  .about-belief .about-heading,
  .about-split .about-heading { margin-bottom: 0; }
}

.about-prose {
  max-width: 40rem;
}
.about-prose p {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.0125rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--muted-fg);
  margin: 0 0 1.35rem;
  overflow-wrap: break-word;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose-follow { margin-top: 2.5rem; }

.about-inline-question {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif !important;
  font-style: italic;
  font-size: 1.25rem !important;
  line-height: 1.55 !important;
  color: var(--fg) !important;
  font-weight: 400 !important;
}

.about-intro {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted-fg);
  max-width: 40rem;
  margin: 0 0 2.5rem;
}

.about-experience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-experience {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
  }
}

.about-exp-title {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--fg);
}
.about-exp-title span { display: block; }
.about-exp-accent {
  font-style: italic;
  text-transform: none;
  color: var(--primary);
  letter-spacing: 0;
}

.about-questions {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-questions { grid-template-columns: 1fr 1fr; }
}
.about-questions li {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--fg);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .about-questions li:nth-child(odd) { padding-right: 2.5rem; }
  .about-questions li:nth-child(even) {
    padding-left: 2.5rem;
    border-left: 1px solid var(--border);
  }
}

.about-principles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .about-principles {
    grid-template-columns: 1fr 1fr;
    column-gap: 4.5rem;
  }
}
.about-principles li {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.about-principle-num {
  display: block;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.about-principles h3 {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.about-principles p {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted-fg);
  margin: 0;
  max-width: 36rem;
}

.about-pullquote {
  margin: 2.75rem 0 0;
  padding: 2rem 0 2rem 1.5rem;
  border-left: 2px solid var(--primary);
  max-width: 48rem;
}
.about-pullquote p {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.45;
  color: var(--fg);
  margin: 0;
  font-weight: 400;
}

.about-principal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .about-principal {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: start;
  }
}
.about-principal-identity {
  border-top: 2px solid var(--primary);
  padding-top: 1.5rem;
}
.about-principal-name {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.about-principal-role {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 400;
  margin: 0;
}

.about-listen-steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  max-width: 42rem;
}
.about-listen-steps li {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--fg);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.about-listen-steps li:last-child { border-bottom: 1px solid var(--border); }

.about-value-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 40rem;
}
.about-value-list li {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.0125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted-fg);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.25rem;
  position: relative;
}
.about-value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.4rem;
  height: 1px;
  background: var(--primary);
}
.about-value-list li:first-child { border-top: 1px solid var(--border); }

.about-commitments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .about-commitments { grid-template-columns: 1fr 1fr; }
}
.about-commitments li {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--fg);
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-commitments li:nth-child(odd) { padding-right: 2rem; }
  .about-commitments li:nth-child(even) {
    padding-left: 2rem;
    border-left: 1px solid var(--border);
  }
}

.about-cta {
  margin-top: 0;
  padding: 4.5rem 1.75rem;
  background: var(--secondary);
  text-align: left;
}
@media (min-width: 768px) {
  .about-cta { padding: 5.5rem 3.5rem; }
}
.about-cta-title {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 1rem 0 1.75rem;
  max-width: 18ch;
}
.about-cta-copy {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.0125rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted-fg);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}
.about-cta-btn {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.about-cta-btn:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.about-cta-btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}
.about-cta-firm {
  margin-top: 2.5rem;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
  line-height: 1.7;
  font-weight: 400;
}
.about-cta-tagline {
  margin-top: 1.5rem;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  .about-page.fade-in { animation: none; }
}

@media (max-width: 767px) {
  .about-heading { max-width: none; }
  .about-hero-title,
  .about-heading,
  .about-exp-title { overflow-wrap: break-word; }
  .about-questions li { padding-right: 0; }
}

/* ARCHITECTURE */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
@media(min-width:768px) { .cat-tabs { gap: 2.5rem; } }
.cat-tab {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 1rem;
  position: relative;
  transition: color 0.3s;
  color: var(--muted-fg);
  background: none;
  border: none;
  cursor: pointer;
}
@media(min-width:768px) { .cat-tab { font-size: 0.75rem; } }
.cat-tab:hover, .cat-tab.active { color: var(--fg); font-weight: 700; }
.cat-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fg);
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2rem;
}
@media(min-width:768px) { .projects-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media(min-width:1024px) { .projects-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem 2rem; } }
.project-card { cursor: pointer; }
.project-card .img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--muted);
  position: relative;
  margin-bottom: 1rem;
}
.project-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.project-card:hover .img-wrap img { transform: scale(1.05); }
.project-card .img-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}
.project-card .card-text { text-align: center; }
.project-card .card-text h3 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
}
.project-card .card-text p {
  font-size: 0.75rem;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-style: italic;
  color: var(--muted-fg);
}
.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 0;
  color: var(--muted-fg);
  font-weight: 400;
}

/* PROJECT DETAIL */
.project-detail { max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem; }
@media(min-width:768px) { .project-detail { padding: 3rem 3rem; } }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.back-link:hover { color: var(--primary); }
.project-detail > h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  overflow-wrap: break-word;
}
@media(max-width:767px) { .project-detail > h1 { font-size: 1.9rem; margin-bottom: 2rem; } }
@media(min-width:768px) { .project-detail > h1 { font-size: 3.25rem; } }
.hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--muted);
  cursor: pointer;
  position: relative;
  margin-bottom: 1rem;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.hero-image:hover img { transform: scale(1.05); }
.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.hero-image:hover .overlay { background: rgba(0,0,0,0.1); }
.hero-image .overlay span {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.3s;
  color: #333;
}
.hero-image:hover .overlay span { opacity: 1; }
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
@media(min-width:768px) { .thumb-grid { grid-template-columns: repeat(6, 1fr); } }
.thumb-grid .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
  cursor: pointer;
  position: relative;
}
.thumb-grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.thumb-grid .thumb:hover img { transform: scale(1.1); }
.project-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media(min-width:768px) { .project-info { grid-template-columns: 2fr 1fr; } }
.project-info h2,
.project-info h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.project-info .description {
  color: var(--muted-fg);
  font-weight: 400;
  line-height: 1.8;
  white-space: pre-wrap;
}
.facts-box {
  background: var(--secondary);
  padding: 2rem;
}
.facts-box h2,
.facts-box h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.fact-item { margin-bottom: 1rem; }
.fact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
}
.fact-value { font-size: 0.875rem; font-weight: 400; }

/* GALLERY LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 110;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  color: black;
  border: none;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.lightbox-close:hover { background: var(--primary); color: white; }
.lightbox-container {
  position: relative;
  width: 100%;
  max-width: 80rem;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: opacity 0.4s;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  color: black;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.lightbox-nav:hover { color: var(--primary); }
.lightbox-prev { left: 1rem; }
@media(min-width:768px) { .lightbox-prev { left: 2.5rem; } }
.lightbox-next { right: 1rem; }
@media(min-width:768px) { .lightbox-next { right: 2.5rem; } }
.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.8);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
  color: #333;
}

/* PUBLICATION */
.pub-carousel-wrap {
  position: relative;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 3.5rem;
}
.pub-carousel {
  overflow: hidden;
}
.pub-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.pub-slide {
  flex: 0 0 33.333%;
  min-width: 33.333%;
  max-width: 33.333%;
  padding: 0 0.75rem;
  box-sizing: border-box;
  cursor: pointer;
}
@media(max-width:767px) {
  .pub-slide { flex: 0 0 100%; min-width: 100%; max-width: 100%; }
  .pub-carousel-wrap { padding: 0 2.5rem; }
}
@media(min-width:768px) and (max-width:1023px) {
  .pub-slide { flex: 0 0 50%; min-width: 50%; max-width: 50%; }
}
.pub-slide-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--muted);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}
.pub-slide:hover .pub-slide-img {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}
.pub-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pub-slide:hover .pub-slide-img img { transform: scale(1.03); }
.pub-slide p {
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  color: var(--fg);
}
.pub-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}
.pub-arrow:hover { background: var(--primary); color: white; border-color: var(--primary); }
.pub-arrow.disabled { opacity: 0.3; pointer-events: none; }
.pub-arrow-prev { left: 0; }
.pub-arrow-next { right: 0; }
.pub-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pub-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.pub-dot:hover { background: var(--muted-fg); }
.pub-dot.active { background: var(--fg); transform: scale(1.2); }

/* CONTACT */
.contact-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.contact-tab {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  color: var(--muted-fg);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.contact-tab.active { color: var(--fg); font-weight: 700; border-bottom-color: var(--fg); }
.contact-info h2,
.contact-info h3 {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-info .subtitle {
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.contact-info p { color: var(--muted-fg); line-height: 1.8; font-weight: 400; font-size: 0.875rem; overflow-wrap: anywhere; }
.contact-info address {
  font-style: normal;
  color: var(--muted-fg);
  line-height: 1.8;
  font-weight: 400;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.contact-info .label { color: var(--fg); font-weight: 400; margin-right: 0.5rem; }
.contact-info .email-link { color: var(--primary); transition: opacity 0.3s; }
.contact-info .email-link:hover { opacity: 0.8; }
.contact-info a.contact-plain { color: inherit; }
.contact-info a.contact-plain:hover { color: var(--primary); }
.contact-info .map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.contact-info .map-link:hover { color: var(--primary); border-color: var(--primary); }
.contact-info > div { margin-bottom: 2rem; }
.contact-map {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  height: 220px;
  overflow: hidden;
  background: var(--muted);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* FORMS */
.form-input {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 1.5rem;
}
.form-input:focus { border-bottom-color: var(--primary); }
.form-input::placeholder { color: var(--muted-fg); }
textarea.form-input { resize: none; min-height: 100px; }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 2rem;
  border: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s;
  border-radius: 0;
  margin-top: 1rem;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  color: var(--fg);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--fg);
  padding: 0.5rem;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--primary); }
.btn-danger { color: var(--destructive); }
.btn-danger:hover { color: var(--destructive); opacity: 0.8; }

/* CAREER */
.career-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media(min-width:768px) { .career-heading { font-size: 3.25rem; } }
.file-input-wrap { margin-bottom: 1rem; }
.file-input-wrap label { font-size: 0.875rem; color: var(--muted-fg); display: block; margin-bottom: 0.5rem; }
.file-input-wrap input[type="file"] { font-size: 0.875rem; }

/* LOGIN */
.login-page {
  max-width: 28rem;
  margin: 8rem auto;
  padding: 0 1.5rem;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.login-card h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.login-card .sub { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 2rem; }
.login-card .form-input { text-align: center; }
.password-wrap { position: relative; }
.password-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-75%);
  background: none;
  border: none;
  color: var(--muted-fg);
  cursor: pointer;
  transition: color 0.3s;
}
.password-toggle:hover { color: var(--fg); }
.forgot-link {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.forgot-link:hover { color: var(--primary); text-decoration: underline; }

/* ADMIN */
.admin-page { max-width: 80rem; margin: 0 auto; padding: 3rem 1.5rem; }
@media(min-width:768px) { .admin-page { padding: 3rem 3rem; } }
.admin-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media(min-width:768px) {
  .admin-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.admin-header h1 { font-size: 1.875rem; margin-bottom: 0.5rem; }
.admin-header p { font-size: 0.875rem; color: var(--muted-fg); }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.admin-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  background: none;
  color: var(--muted-fg);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.admin-tab.active { color: var(--fg); border-bottom-color: var(--primary); }
.admin-tab:hover { color: var(--fg); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.admin-card h3 { font-size: 1.125rem; font-weight: 400; margin-bottom: 1rem; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
.inline-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.inline-form input {
  flex: 1;
  max-width: 28rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 0.875rem;
  border-radius: var(--radius);
  outline: none;
}
.inline-form input:focus { border-color: var(--primary); }
.cat-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
@media(min-width:768px) {
  .cat-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cat-row .cat-name { font-weight: 400; }
.cat-row .cat-count { font-size: 0.75rem; color: var(--muted-fg); margin-left: 0.5rem; }
.cat-row .actions { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--fg);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.icon-btn:hover { background: var(--muted); }
.icon-btn.danger { color: var(--destructive); }
.icon-btn.success { color: #16a34a; }

.project-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
@media(min-width:768px) { .project-row { flex-direction: row; } }
.project-row .proj-thumb {
  width: 100%;
  height: 8rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--muted);
  flex-shrink: 0;
}
@media(min-width:768px) { .project-row .proj-thumb { width: 12rem; } }
.project-row .proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-row .proj-info { flex: 1; }
.project-row .proj-info h4 { font-size: 1.125rem; font-weight: 400; margin-bottom: 0.5rem; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
.project-row .proj-info .desc { font-size: 0.875rem; color: var(--muted-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 1rem; }
.detail-tag {
  font-size: 0.75rem;
  background: var(--muted);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-tag .tag-label { color: var(--muted-fg); }
.proj-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.gallery-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.gallery-section h5 { font-size: 0.875rem; font-weight: 400; margin-bottom: 1rem; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media(min-width:768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media(min-width:1024px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); } }
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.gallery-card.featured-home { outline: 1px solid var(--primary); }
.gallery-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--muted); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-controls { padding: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: space-between; }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .main-badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  background: var(--bg);
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius);
}

/* NEW PROJECT FORM */
.new-project-form {
  background: var(--card);
  border: 1px solid var(--primary);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.new-project-form h3 { font-size: 1.125rem; font-weight: 400; margin-bottom: 1.5rem; font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media(min-width:768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 0.875rem;
  border-radius: var(--radius);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 5rem; }
.form-group .hint { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem; }
.details-box {
  background: var(--muted);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.details-box > label { font-size: 1rem; display: block; margin-bottom: 0.25rem; }
.details-box > p { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 1rem; }
.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.detail-row .dl { color: var(--muted-fg); font-weight: 400; }

/* FOOTER (Spacious Full-Width Layout Matching Admin Aesthetic) */
.site-footer {
  width: 100%;
  padding: 5rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  color: var(--muted-fg);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  background: var(--bg);
  box-sizing: border-box;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  width: 100%;
  box-sizing: border-box;
}
@media(max-width:767px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer-brand .footer-logo {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}
.footer-brand .footer-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-brand .footer-address {
  line-height: 1.7;
  font-size: 0.8rem;
}
.footer-col h4 {
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--muted-fg);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 80rem;
  margin: 5rem auto 0;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  box-sizing: border-box;
}
.footer-bottom a { color: var(--muted-fg); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--primary); }
.made-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-fg);
  transition: color 0.2s ease;
}
.made-by:hover {
  color: var(--primary);
}
.made-by-text {
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.made-by-text strong,
.made-by-name {
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.made-by:hover .made-by-text strong,
.made-by:hover .made-by-name {
  color: var(--primary);
}
.made-by-logo,
.made-by img {
  height: 75px !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 8px !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
  transition: transform 0.25s ease;
}
.made-by:hover .made-by-logo,
.made-by:hover .made-by img {
  transform: scale(1.06);
}

/* SHARED VISUAL EFFECTS */
.ve {
  perspective: 1500px;
  min-height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--card, var(--bg)), var(--muted));
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.ve > .ve-monolith-reel,
.ve > .ve-prismatic-stage,
.ve > .ve-editorial-stagger,
.ve > .ve-blueprint-gallery,
.ve > .ve-strip,
.ve > .ve-cols,
.ve > .ve-hero-wrap,
.ve > .ve-grid,
.ve > .ve-wall,
.ve > .ve-slab,
.ve > .ve-stage,
.ve > .ve-vmcols,
.ve > .ve-accordion,
.ve > .ve-slideshow,
.ve > .ve-cube-scene,
.ve > .ve-coverflow,
.ve > .ve-flip-grid,
.ve > .ve-depth,
.ve > .ve-iso,
.ve > .ve-stacked-planes,
.ve > .ve-drag {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: none;
  border-radius: inherit;
  box-sizing: border-box;
}
.ve-empty { min-height: 0; display: none; }
.ve .ve-img,
.ve-card .ve-img,
.ve-cell .ve-img,
.ve-face-in .ve-img,
.ve-flow-card .ve-img,
.ve-layer .ve-img,
.ve-slide .ve-img,
.ve-acc-panel .ve-img,
.ve-hero .ve-img,
.ve-dlayer .ve-img,
.ve-monolith-card .ve-img,
.ve-prism-card .ve-img,
.ve-stagger-card .ve-img,
.ve-bp-card .ve-img {
  position: relative;
  overflow: hidden;
  background: var(--muted);
  display: block;
  width: 100%;
  height: 100%;
}
.ve .ve-img img,
.ve-card img,
.ve-cell img,
.ve-face-in img,
.ve-flow-card img,
.ve-layer img,
.ve-slide img,
.ve-acc-panel img,
.ve-hero img,
.ve-dlayer img,
.ve-monolith-card img,
.ve-prism-card img,
.ve-stagger-card img,
.ve-bp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  transition: transform 0.6s ease;
}
.ve-card:hover .ve-img img,
.ve-cell:hover .ve-img img {
  transform: scale(1.03);
}
.ve .ve-tag {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  z-index: 2;
  pointer-events: none;
  line-height: 1.3;
}
.ve .ve-img::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  pointer-events: none;
  z-index: 1;
}

/* TRACK & BASIC CARD */
.ve-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: veSlide 55s linear infinite;
  padding: 2rem 1.5rem;
  align-items: center;
}
.ve:hover .ve-track,
.ve-track:hover {
  animation-play-state: paused;
}
.ve-paused .ve-track,
.ve-paused .ve-side-in,
.ve-paused .ve-ring,
.ve-paused .ve-col,
.ve-paused .ve-vmcol,
.ve-paused .ve-cube,
.ve-paused .ve-monolith-track,
.ve-paused .ve-prism-track,
.ve-paused .ve-stagger-inner {
  animation-play-state: paused !important;
}
@keyframes veSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ve-card {
  display: block;
  width: 16rem;
  height: 19rem;
  flex-shrink: 0;
  box-shadow: 14px 24px 44px rgba(35, 28, 16, 0.13);
  transform: rotateY(-7deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--muted);
  box-sizing: border-box;
}
.ve-card.sm {
  width: 12rem;
  height: 9rem;
  transform: none;
  box-shadow: 0 16px 34px rgba(35, 28, 16, 0.14);
}
.ve-card:hover {
  transform: rotateY(0) translateY(-8px);
  box-shadow: 0 30px 54px rgba(35, 28, 16, 0.18);
}

/* MARQUEE VARIANTS */
.ve-track.diag {
  transform: rotate(-5deg) scale(1.08);
  padding: 3rem 1.5rem;
}
.ve-track.diag .ve-card {
  transform: none;
  width: 14.5rem;
  height: 17.5rem;
}
.ve-track.diag .ve-card:hover {
  transform: translateY(-8px);
}
.ve-track.ribbon {
  padding: 2.5rem 1.5rem;
}
.ve-track.ribbon .ve-card {
  margin-left: -2rem;
  border: 4px solid var(--card, #fff);
  transform: rotateX(10deg);
  width: 15rem;
  height: 18rem;
}
.ve-track.ribbon .ve-card:first-child {
  margin-left: 0;
}
.ve-track.ribbon .ve-card:hover {
  transform: rotateX(0) translateY(-8px);
  z-index: 10;
}
.ve-strip {
  background: #23201a;
  padding: 1.5rem 0;
  transform: rotateX(8deg);
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(35, 28, 16, 0.28);
}
.ve-strip .ve-track {
  padding: 0 1.5rem;
  animation-duration: 48s;
}
.ve-strip .ve-card {
  width: 13.5rem;
  height: 10rem;
  transform: none;
  box-shadow: none;
}
.ve-strip .ve-sp {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 1.2rem 0;
}
.ve-strip .ve-sp i {
  width: 0.55rem;
  height: 0.55rem;
  background: #57503f;
  display: block;
  border-radius: 1px;
}
.ve-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--border);
  padding: 0.65rem;
  box-shadow: 0 24px 50px rgba(35, 28, 16, 0.13);
  flex-shrink: 0;
  border-radius: var(--radius);
}
.ve-glass .ve-card {
  width: 13.5rem;
  height: 15.5rem;
  transform: none;
  box-shadow: none;
}
.ve-glass small {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  color: var(--muted-fg);
  text-align: center;
}
.ve-track.museum .ve-panel {
  transform: rotateY(-9deg);
  flex-shrink: 0;
}
.ve-track.museum .ve-panel::before {
  content: '';
  display: block;
  width: 2px;
  height: 1.7rem;
  background: var(--border);
  margin: 0 auto;
}
.ve-track.museum .ve-card {
  width: 14rem;
  height: 17rem;
  transform: none;
  box-shadow: 0 26px 54px rgba(35, 28, 16, 0.17);
}
.ve-track.museum small {
  display: block;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  margin-top: 0.6rem;
}
.ve-dual {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
  padding: 1.75rem 0;
  width: 100%;
  overflow: hidden;
}
.ve-dual .ve-track {
  padding: 0;
}
.ve-dual .back .ve-card {
  width: 10rem;
  height: 7.5rem;
  filter: blur(1.5px) brightness(0.97);
  opacity: 0.88;
  transform: none;
}
.ve-dual .back {
  animation: veSlideRev 64s linear infinite;
}
.ve-dual .front .ve-card {
  width: 14.5rem;
  height: 11rem;
  box-shadow: 0 20px 42px rgba(35, 28, 16, 0.16);
  transform: none;
}
.ve-dual .front {
  animation: veSlide 42s linear infinite;
}
@keyframes veSlideRev {
  from { transform: translateX(-20%); }
  to { transform: translateX(0); }
}

/* GALLERY / EDITORIAL LAYOUTS */
.ve-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  width: 100%;
  height: 25rem;
  max-height: 25rem;
  overflow: hidden;
  padding: 1.25rem;
  box-sizing: border-box;
}
.ve-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.ve-col .ve-card {
  width: 100%;
  height: 11.5rem;
  transform: none;
  box-shadow: 0 18px 36px rgba(35, 28, 16, 0.15);
}
.ve-col.c0 { animation: veRise 36s linear infinite; }
.ve-col.c1 { animation: veFall 50s linear infinite; }
.ve-col.c2 { animation: veRise 44s linear infinite; }
@keyframes veRise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes veFall { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.ve:hover .ve-col { animation-play-state: paused; }

.ve-hero-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  width: 100%;
  padding: 1.75rem;
  align-items: center;
  box-sizing: border-box;
}
.ve-hero {
  display: block;
  height: 21rem;
  width: 100%;
  box-shadow: 0 30px 60px rgba(35, 28, 16, 0.2);
  transform: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.ve-side {
  height: 21rem;
  overflow: hidden;
  position: relative;
}
.ve-side-in {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  animation: veRiseSide 34s linear infinite;
}
.ve-side-in .ve-card {
  width: 100%;
  height: 9.8rem;
  transform: none;
  box-shadow: 0 16px 34px rgba(35, 28, 16, 0.15);
}
.ve-hero-wrap:hover .ve-side-in {
  animation-play-state: paused;
}
@keyframes veRiseSide { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.ve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  box-sizing: border-box;
}
.ve-grid .ve-cell {
  display: block;
  height: 13.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.ve-grid.kb .ve-img img {
  animation: veKen 12s ease-in-out infinite alternate;
}
@keyframes veKen {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.ve-grid.tilt-g {
  perspective: 1100px;
}
.ve-grid.tilt-g .tilt {
  transition: transform 0.25s ease;
}

.ve-wall {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  perspective: 1000px;
  box-sizing: border-box;
}
.ve-wall .ve-cell {
  flex: 1;
  height: 15rem;
  transform: rotateY(18deg);
  opacity: 0.88;
  transition: transform 0.4s ease, opacity 0.4s;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}
.ve-wall .ve-cell:hover {
  transform: rotateY(0);
  opacity: 1;
}

.ve-stack {
  position: relative;
  height: 25rem;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.ve-layer {
  position: absolute;
  display: block;
  box-shadow: 0 26px 56px rgba(35, 28, 16, 0.18);
  transition: transform 0.5s ease;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.ve-layer.s1 { width: 62%; height: 15rem; top: 1rem; left: 1rem; }
.ve-layer.s2 { width: 48%; height: 12.5rem; top: 7rem; right: 1rem; }
.ve-layer.s3 { width: 44%; height: 10.5rem; bottom: 1rem; left: 16%; }
.ve-layer:hover { transform: translateY(-8px); }

.ve-slab {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 11rem 11rem;
  gap: 1rem;
  padding: 1.75rem;
  width: 100%;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}
.ve-slab .ve-cell:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 23rem;
}
.ve-slab .ve-cell {
  height: 11rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(35, 28, 16, 0.14);
  transition: transform 0.5s ease;
  text-decoration: none;
}
.ve-slab .ve-cell:hover {
  transform: translateY(-6px);
}

.ve-stage {
  position: relative;
  width: 100%;
  height: 25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(60% 80% at 50% 40%, var(--card, #fff) 0%, var(--muted, #f1ece0) 70%, var(--border, #e9e2d2) 100%);
  overflow: hidden;
}
.ve-stage .ve-track {
  animation-duration: 58s;
  padding: 2rem 1.5rem;
}
.ve-stage .ve-card {
  width: 15rem;
  height: 17rem;
  box-shadow: 0 30px 60px rgba(35, 28, 16, 0.2);
  transform: none;
}
.ve-stage::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}

.ve-ring {
  position: relative;
  width: 12rem;
  height: 15rem;
  margin: 2rem auto;
  transform-style: preserve-3d;
  animation: homeSpin 20s linear infinite;
}
.ve:hover .ve-ring {
  animation-play-state: paused;
}
.ve-face {
  position: absolute;
  inset: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.ve-face .ve-face-in,
.ve-face .ve-img,
.ve-face a {
  width: 100%;
  height: 100%;
  display: block;
}

.ve-vmcols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 25rem;
  max-height: 25rem;
  overflow: hidden;
  padding: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-vmcol {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ve-vmcol .ve-card {
  width: 100%;
  height: 11.5rem;
  flex-shrink: 0;
  transform: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
.ve-vmup { animation: veVmUp 22s linear infinite; }
.ve-vmdown { animation: veVmDown 26s linear infinite; }
.ve-vmcols:hover .ve-vmcol { animation-play-state: paused; }
@keyframes veVmUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes veVmDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.ve-drag {
  overflow-x: auto;
  cursor: grab;
  display: flex;
  gap: 1.2rem;
  padding: 2rem 1.5rem;
  scroll-snap-type: x mandatory;
  width: 100%;
  box-sizing: border-box;
}
.ve-drag:active {
  cursor: grabbing;
}
.ve-drag .ve-card {
  min-width: 15rem;
  width: 15rem;
  height: 12rem;
  scroll-snap-align: start;
  flex-shrink: 0;
  transform: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.ve-accordion {
  display: flex;
  gap: 0.5rem;
  height: 22rem;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-acc-panel {
  flex: 1;
  transition: flex 0.5s ease;
  min-width: 0;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}
.ve-acc-panel:hover,
.ve-acc-panel.on {
  flex: 3;
}

.ve-slideshow {
  position: relative;
  height: 22rem;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.ve-slide {
  position: absolute;
  inset: 1rem;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}
.ve-slide.show {
  opacity: 1;
}

.ve-cube-scene {
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-cube {
  width: 14rem;
  height: 14rem;
  position: relative;
  transform-style: preserve-3d;
  animation: veCubeSpin 14s linear infinite;
}
.ve-cube-scene:hover .ve-cube {
  animation-play-state: paused;
}
.ve-cube-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}
.ve-cf1 { transform: rotateY(0) translateZ(7rem); }
.ve-cf2 { transform: rotateY(90deg) translateZ(7rem); }
.ve-cf3 { transform: rotateY(180deg) translateZ(7rem); }
.ve-cf4 { transform: rotateY(270deg) translateZ(7rem); }
@keyframes veCubeSpin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

.ve-coverflow {
  display: flex;
  gap: 0;
  perspective: 1100px;
  justify-content: center;
  align-items: center;
  height: 20rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-flow-card {
  width: 11rem;
  height: 14rem;
  flex-shrink: 0;
  transition: transform 0.4s ease, opacity 0.4s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.ve-flow-card:nth-child(1) { transform: rotateY(45deg) translateX(2rem); }
.ve-flow-card:nth-child(2) { transform: rotateY(22deg) translateX(1rem) scale(1.05); }
.ve-flow-card:nth-child(3) { transform: translateZ(3rem) scale(1.15); z-index: 2; }
.ve-flow-card:nth-child(4) { transform: rotateY(-22deg) translateX(-1rem) scale(1.05); }
.ve-flow-card:nth-child(5) { transform: rotateY(-45deg) translateX(-2rem); }

.ve-flip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  perspective: 1200px;
  padding: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-flip {
  height: 14rem;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  border-radius: var(--radius);
}
.ve-flip:hover {
  transform: rotateY(180deg);
}
.ve-flip-front,
.ve-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.ve-flip-back {
  transform: rotateY(180deg);
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.ve-depth {
  perspective: 1000px;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.ve-depth-inner {
  position: relative;
  height: 22rem;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}
.ve-dlayer {
  position: absolute;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.ve-dl1 { width: 60%; height: 14rem; top: 0; left: 0; transform: translateZ(60px); }
.ve-dl2 { width: 50%; height: 12rem; top: 6rem; right: 0; transform: translateZ(120px); }
.ve-dl3 { width: 45%; height: 10rem; bottom: 0; left: 15%; transform: translateZ(180px); }

.ve-iso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  perspective: 900px;
  padding: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.ve-iso-card {
  height: 13rem;
  transform: rotateX(12deg) rotateY(-12deg);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
  animation: veIsoFloat 5s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
}
.ve-iso-card:nth-child(2) { animation-delay: -2s; }
.ve-iso-card:hover { transform: rotateX(0) rotateY(0); }
@keyframes veIsoFloat { from { translate: 0 0; } to { translate: 0 -10px; } }

.ve-stacked-planes {
  position: relative;
  height: 24rem;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.ve-splane {
  position: absolute;
  left: 0;
  right: 0;
}
.ve-sp1 { top: 0.5rem; }
.ve-sp2 { top: 8rem; }
.ve-sp3 { top: 15.5rem; }
.ve-sp1 .ve-track { animation-duration: 52s; }
.ve-sp2 .ve-track { animation-direction: reverse; animation-duration: 38s; }
.ve-sp3 .ve-track { animation-duration: 64s; }
.ve-stacked-planes .ve-card.sm { width: 11rem; height: 7.5rem; }
.ve-stacked-planes:hover .ve-track { animation-play-state: paused; }

/* MONOLITH ARCHITECTURAL REEL */
.ve-monolith-reel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2.2rem 0 2.8rem;
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.02) 0%, rgba(28, 24, 20, 0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  perspective: 1400px;
}
.ve-monolith-track {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: veMonolithReel 52s linear infinite;
  align-items: center;
  padding: 1rem 1.5rem;
}
.ve-monolith-reel:hover .ve-monolith-track,
.ve-monolith-track:hover {
  animation-play-state: paused;
}
@keyframes veMonolithReel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ve-monolith-datum {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), rgba(150, 140, 125, 0.5), var(--border), transparent);
  pointer-events: none;
}
.ve-monolith-card {
  display: block;
  width: 17.5rem;
  flex-shrink: 0;
  background: var(--card, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -8px rgba(28, 24, 20, 0.18), 0 4px 12px rgba(28, 24, 20, 0.06);
  transform: rotateY(-6deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: var(--fg);
  overflow: hidden;
  box-sizing: border-box;
}
.ve-monolith-card:hover {
  transform: rotateY(0) translateY(-10px) scale(1.02);
  box-shadow: 0 36px 70px -10px rgba(28, 24, 20, 0.28), 0 8px 24px rgba(28, 24, 20, 0.1);
}
.ve-monolith-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ve-monolith-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-fg);
  background: var(--card, #fff);
}
.ve-monolith-idx {
  font-weight: 700;
  color: var(--fg);
}
.ve-monolith-frame .ve-img {
  height: 14rem;
  width: 100%;
}
.ve-monolith-footer {
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.ve-monolith-title {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0 0 0.25rem;
  color: var(--fg);
}
.ve-monolith-loc {
  font-size: 0.68rem;
  color: var(--muted-fg);
  letter-spacing: 0.06em;
  display: block;
}

/* PRISMATIC GLASS LIGHTBOX */
.ve-prismatic-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  perspective: 1500px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(240, 235, 225, 0.5) 100%);
  padding: 2.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
}
.ve-prism-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: vePrismDrift 48s linear infinite;
  align-items: center;
  padding: 1rem 1.5rem;
}
.ve-prismatic-stage:hover .ve-prism-track,
.ve-prism-track:hover {
  animation-play-state: paused;
}
@keyframes vePrismDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ve-prism-card {
  display: block;
  width: 16.5rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(210, 200, 185, 0.45);
  box-shadow: 0 20px 45px rgba(35, 28, 16, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  box-sizing: border-box;
}
.ve-prism-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 60px rgba(35, 28, 16, 0.18), inset 0 1px 2px #fff;
}
.ve-prism-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.ve-prism-card .ve-img {
  height: 14rem;
  border-radius: 2px;
}
.ve-prism-caption {
  margin-top: 0.65rem;
}
.ve-prism-num {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-fg);
  display: block;
  margin-bottom: 0.2rem;
}
.ve-prism-name {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--fg);
  display: block;
  line-height: 1.3;
}
.ve-prism-sub {
  font-size: 0.68rem;
  color: var(--muted-fg);
  display: block;
  margin-top: 0.15rem;
}

/* KINETIC EDITORIAL STAGGER */
.ve-editorial-stagger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  height: 26rem;
  overflow: hidden;
  padding: 1.25rem;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
}
.ve-stagger-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ve-stagger-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.ve-sc0 .ve-stagger-inner { animation: veStaggerUp 38s linear infinite; }
.ve-sc1 .ve-stagger-inner { animation: veStaggerDn 48s linear infinite; }
.ve-sc2 .ve-stagger-inner { animation: veStaggerUp 42s linear infinite; }
.ve-editorial-stagger:hover .ve-stagger-inner {
  animation-play-state: paused;
}
@keyframes veStaggerUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes veStaggerDn {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
.ve-stagger-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(28, 24, 20, 0.12);
  text-decoration: none;
  color: var(--fg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-sizing: border-box;
}
.ve-stagger-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(28, 24, 20, 0.18);
}
.ve-stagger-top {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-fg);
  border-bottom: 1px solid var(--border);
}
.ve-stagger-num {
  font-weight: 700;
  color: var(--fg);
}
.ve-stagger-card .ve-img {
  height: 11.5rem;
}
.ve-stagger-info {
  padding: 0.65rem 0.75rem;
}
.ve-stagger-title {
  font-size: 0.82rem;
  font-weight: 400;
  margin: 0;
  color: var(--fg);
  line-height: 1.3;
}

/* CURATED BLUEPRINT EXHIBITION */
.ve-blueprint-gallery {
  position: relative;
  perspective: 1200px;
  padding: 2rem 1.5rem;
  background: #14171d;
  color: #e5edf7;
  border-radius: var(--radius);
  border: 1px solid #283141;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}
.ve-bp-grid-layer {
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  pointer-events: none;
}
.ve-bp-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}
.ve-bp-card {
  position: relative;
  background: #0f1217;
  border: 1px solid rgba(135, 170, 220, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s ease, opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 2px;
  box-sizing: border-box;
}
.ve-bp-card-inner {
  padding: 0.85rem;
  position: relative;
}
.ve-bp-cross {
  position: absolute;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.75rem;
  color: #5a7ca8;
  line-height: 1;
  pointer-events: none;
}
.ve-bp-cross.top-left { top: 4px; left: 6px; }
.ve-bp-cross.top-right { top: 4px; right: 6px; }
.ve-bp-cross.btm-left { bottom: 4px; left: 6px; }
.ve-bp-cross.btm-right { bottom: 4px; right: 6px; }
.ve-bp-header {
  display: flex;
  justify-content: space-between;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: #7e9bbd;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.ve-bp-code {
  font-weight: bold;
  color: #a5c3e8;
}
.ve-bp-card .ve-img {
  height: 12rem;
  border: 1px solid rgba(135, 170, 220, 0.2);
  position: relative;
}
.ve-bp-lens {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80, 140, 220, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}
.ve-bp-meta {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ve-bp-title {
  font-size: 0.84rem;
  font-weight: 400;
  color: #f0f4f9;
  margin: 0;
  line-height: 1.3;
}
.ve-bp-sub {
  font-size: 0.64rem;
  color: #8ea3bf;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
}
.ve-bp-scale {
  font-size: 0.58rem;
  color: #5a7ca8;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  letter-spacing: 0.12em;
}
.ve-bp-card.dimmed {
  opacity: 0.45;
  filter: grayscale(40%);
}
.ve-bp-card.focused,
.ve-bp-card:hover {
  opacity: 1;
  border-color: rgba(135, 190, 255, 0.7);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(80, 140, 220, 0.25);
  z-index: 5;
}

@media(max-width: 767px) {
  .ve {
    min-height: 18rem;
  }
  .ve-track {
    animation-duration: 35s;
    padding: 1rem 0.75rem;
    gap: 1rem;
  }
  .ve-card {
    width: 13rem;
    height: 15rem;
  }
  .ve-dual .front, .ve-dual .back {
    animation-duration: 30s;
  }
  .ve-hero-wrap {
    grid-template-columns: 1fr;
  }
  .ve-hero, .ve-side {
    height: auto;
  }
  .ve-side {
    max-height: 16rem;
  }
  .ve-cols {
    max-height: 18rem;
  }
  .ve-slab {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ve-slab .ve-cell:first-child {
    grid-column: 1 / -1;
    min-height: 0;
    height: 12rem;
  }
  .ve-slab .ve-cell {
    height: 10rem;
  }
  .ve-ring {
    animation: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    width: auto;
    height: auto;
  }
  .ve-face {
    position: relative;
    transform: none !important;
    height: 10rem;
  }
  .ve-wall {
    flex-wrap: wrap;
  }
  .ve-wall .ve-cell {
    transform: none;
    min-width: 44%;
  }
  .ve-vmcols {
    height: 18rem;
  }
  .ve-accordion {
    height: 14rem;
  }
  .ve-slideshow {
    height: 14rem;
  }
  .ve-cube-scene {
    perspective: none;
    height: auto;
  }
  .ve-cube {
    animation: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    width: auto;
    height: auto;
  }
  .ve-cube-face {
    position: relative;
    inset: auto;
    transform: none !important;
    height: 10rem;
  }
  .ve-coverflow {
    height: auto;
    flex-wrap: wrap;
    perspective: none;
  }
  .ve-flow-card {
    transform: none !important;
    width: 48%;
    height: 10rem;
  }
  .ve-depth-inner {
    height: 18rem;
  }
  .ve-iso {
    perspective: none;
  }
  .ve-iso-card {
    transform: none;
    animation: none;
  }
  .ve-stacked-planes {
    height: auto;
    position: static;
  }
  .ve-splane {
    position: static;
  }
  .ve-monolith-reel {
    padding: 1.5rem 0;
  }
  .ve-monolith-card {
    width: 14rem;
  }
  .ve-monolith-frame .ve-img {
    height: 11rem;
  }
  .ve-prism-card {
    width: 13rem;
    height: 17rem;
  }
  .ve-prism-card .ve-img {
    height: 10.5rem;
  }
  .ve-editorial-stagger {
    height: 19rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  .ve-editorial-stagger .ve-stagger-col:nth-child(3) {
    display: none;
  }
  .ve-blueprint-gallery {
    padding: 1.25rem 0.75rem;
  }
  .ve-bp-items {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .ve-bp-card .ve-img {
    height: 9rem;
  }
}

@media(prefers-reduced-motion: reduce) {
  .ve-track,
  .ve-side-in,
  .ve-ring,
  .ve-col,
  .ve-grid.kb .ve-img img,
  .ve-vmcol,
  .ve-cube,
  .ve-sp1 .ve-track,
  .ve-sp2 .ve-track,
  .ve-sp3 .ve-track,
  .ve-dual .front,
  .ve-dual .back,
  .ve-iso-card,
  .ve-layer,
  .ve-monolith-track,
  .ve-prism-track,
  .ve-stagger-inner {
    animation: none !important;
  }
  .ve-card,
  .ve-monolith-card,
  .ve-prism-card,
  .ve-bp-card {
    transform: none !important;
  }
  .ve-iso-card {
    transform: none !important;
  }
}

/* HOME RING CAROUSEL */
.home-ring-scene{perspective:1400px;min-height:22rem;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.home-ring{position:relative;width:12rem;height:15rem;transform-style:preserve-3d;animation:homeSpin 20s linear infinite;}
.home-ring-scene:hover .home-ring{animation-play-state:paused;}
@keyframes homeSpin{from{transform:rotateY(0)}to{transform:rotateY(360deg)}}
.home-ring .dimg{position:absolute;inset:0;background:var(--muted);overflow:hidden;cursor:zoom-in;box-shadow:0 12px 30px rgba(0,0,0,.2);}
.home-ring .dimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease;}
.home-ring .dimg:hover img{transform:scale(1.12);}
.home-zoom{position:fixed;inset:0;background:rgba(0,0,0,.86);display:none;align-items:center;justify-content:center;z-index:999;padding:2rem;}
.home-zoom.open{display:flex;}
.home-zoom img{max-width:min(90vw,60rem);max-height:78vh;object-fit:contain;}
.home-zoom .hz-cap{color:#fff;text-align:center;margin-top:.7rem;font-size:.85rem;}
.home-zoom .hz-cap a{color:#fff;}
.home-zoom .hz-close{position:absolute;top:1rem;right:1.2rem;background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;}
@media(max-width:767px){.home-ring-scene{min-height:0;perspective:none;overflow:visible;}.home-ring{animation:none;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;width:auto;height:auto;}.home-ring .dimg{position:relative;height:10rem;}}

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.7s ease both; }
.fade-in-up { animation: fadeInUp 0.7s ease both; }

/* MOBILE MENU */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
  cursor: pointer;
}
@media(max-width:767px) {
  .mobile-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open { display: flex; }
  .navbar .nav-inner { position: relative; }
  .mobile-toggle { position: absolute; right: 0; top: 0.5rem; }
}

/* ABOUT SELECTED WORK */
.about-selected-work { max-width: 80rem; margin: 0 auto; padding: 4rem 2rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.about-selected-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.about-selected-head .about-heading { margin-bottom: 1rem; }
.about-selected-copy { font-size: 0.95rem; line-height: 1.7; color: var(--muted-fg); }
.about-selected-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:640px){ .about-selected-grid{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .about-selected-grid{ grid-template-columns: repeat(3,1fr); } }
.about-project-card { display: block; text-decoration: none; color: inherit; group: card; }
.about-project-img { aspect-ratio: 4/3; overflow: hidden; background: var(--muted); border: 1px solid var(--border); }
.about-project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s; display: block; }
.about-project-card:hover .about-project-img img { transform: scale(1.04); }
.about-project-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--muted), var(--border)); min-height: 100%; }
.about-project-meta { padding: 1rem 0 0; }
.about-project-cat { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-fg); }
.about-project-title { font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; font-size: 1.25rem; font-weight: 400; color: var(--fg); margin: 0.25rem 0 0.25rem; line-height: 1.25; }
.about-project-detail { font-size: 0.78rem; color: var(--muted-fg); margin-bottom: 0.35rem; }
.about-project-excerpt { font-size: 0.82rem; line-height: 1.6; color: var(--muted-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.about-selected-cta { text-align: center; margin-top: 3rem; }
.about-selected-btn { display: inline-block; }
.about-badge { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border: 1px solid var(--border); border-radius: 999px; }
.about-badge.on { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.about-badge.off { background: transparent; color: var(--muted-fg); }

/* SEO INTRO + FAQ (additive, matches existing type) */
.page-seo-intro {
  max-width: 40rem;
  margin: 1.15rem auto 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted-fg);
}
.page-seo-intro a {
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.page-seo-intro a:hover { color: var(--primary); border-color: var(--primary); }
.section-header.section-header-seo { margin-bottom: 3rem; }
.site-faq {
  max-width: 64rem;
  margin: 0 auto;
}
.section.site-faq { padding-top: 1rem; }
.site-faq-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.site-faq-item { margin-bottom: 1.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.site-faq-item h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
}
.site-faq-item p {
  color: var(--muted-fg);
  font-weight: 400;
  line-height: 1.75;
  font-size: 0.9rem;
}
.site-faq-item a {
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.site-faq-item a:hover { color: var(--primary); border-color: var(--primary); }
.contact-page-faq { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.contact-page-faq .site-faq-title { text-align: left; }
.contact-page-faq .site-faq-item { margin-left: 0; }

/* UTILITY */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--muted-fg); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none !important; }


/* Careful refinements: all colours come from the existing, unchanged palettes. */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 1000; padding: .8rem 1rem; background: var(--bg); color: var(--fg); border: 1px solid var(--border); }
.skip-link:focus { top: 1rem; }
.theme-option[aria-pressed="true"] { font-weight: 700; background: var(--muted); }
.theme-option, .cat-tab { min-height: 44px; }
.project-card .card-text h3, .about-project-title { text-wrap: balance; }
.project-card .card-text p, .project-info .description { line-height: 1.8; }
.project-card:focus-visible .img-wrap img, .about-project-card:focus-visible img { transform: scale(1.04); }
.hero-image:focus-visible .overlay span { opacity: 1; }
.field-label { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 400; letter-spacing: .025em; }
.form-input { font-size: 1rem; }
textarea.form-input { resize: vertical; min-height: 8rem; }
.form-status:empty { display: none; }
.form-status { padding: 1rem; margin-top: 1rem; border: 1px solid var(--border); background: var(--secondary); color: var(--secondary-fg); font-size: .85rem; line-height: 1.7; }
.form-status.is-error { border-left: 3px solid var(--primary); }
button:disabled { cursor: wait; }
.file-input-wrap input { max-width: 100%; }
.empty-msg { grid-column: 1 / -1; padding: 3rem 1rem; }
.empty-msg h2 { font-family: Verdana, Geneva, Tahoma, Arial, sans-serif; font-size: 2rem; font-weight: 400; margin-bottom: 1rem; }
.empty-msg p { margin-bottom: 1.5rem; line-height: 1.7; }
.empty-msg .btn-outline { margin: 0 1rem 1rem 0; min-height: 44px; }
.pub-slide { outline-offset: -4px; }
.reference-credit { display: block; font-size: .62rem; line-height: 1.6; letter-spacing: .04em; color: var(--muted-fg); }
.reference-credit[hidden] { display: none; }
.hero-credit { position: absolute; bottom: .8rem; right: 1rem; z-index: 2; background: var(--bg); color: var(--muted-fg); padding: .2rem .5rem; }
.about-reference { text-align: right; max-width: 80rem; margin: -2.5rem auto 3rem; padding: 0 3rem; }
.site-faq-item { padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.site-faq-item:last-child { border-bottom: 0; }
@media(min-width: 768px) {
  .section.site-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
  .section.site-faq > .site-faq-title { grid-column: 1 / -1; }
  .section.site-faq > .site-faq-item { width: 100%; margin-bottom: 1.75rem; }
}
@media(max-width: 1080px) {
  .navbar .nav-inner { position: relative; flex-wrap: wrap; }
  .navbar .logo { padding-right: 3.25rem; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; position: absolute; right: 0; top: .25rem; width: 44px; height: 44px; }
  .nav-links { display: none; flex-direction: column; width: 100%; flex-basis: 100%; align-items: stretch; gap: 0; padding-top: 1rem; }
  .nav-links.open { display: flex; }
  .nav-link { padding: .85rem 0; }
  .theme-btn { width: 44px; height: 44px; margin: .5rem 0 0; }
  .theme-dropdown { left: 0; right: auto; }
}
@media(max-width: 767px) {
  .about-reference { padding: 0 1.5rem; margin-top: -1.5rem; }
  .contact-info a, .footer-col a { overflow-wrap: anywhere; }
  .hero-image { aspect-ratio: 4 / 3; }
  .thumb-grid { gap: .6rem; }
  .hero-credit { font-size: .55rem; max-width: calc(100% - 2rem); }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Tablet QA: let blueprint cards follow their grid tracks instead of the
   fixed marquee-card width. Keep every original colour declaration intact. */
.ve-blueprint-gallery .ve-bp-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.ve-blueprint-gallery .ve-bp-header { flex-wrap: wrap; gap: .25rem .5rem; }
.ve-blueprint-gallery .ve-bp-title,
.ve-blueprint-gallery .ve-bp-sub { overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .ve-blueprint-gallery .ve-bp-items {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  }
}

/* Verdana hierarchy: regular body copy, bold headings and key controls. */
h1, h2, h3, h4, h5, h6 { font-weight: 700 !important; }
.logo-name, strong, b, .btn-primary, .hero .cta,
.field-label, .form-group > label, .contact-info .label,
.nav-link.active, .cat-tab.active, .admin-tab.active { font-weight: 700; }
.hero h1 span { font-style: normal; }
