:root {
  --cream: #efefeb;
  --dark: #101010;
  --gold: #9a9a93;
  --warm: #c1c1ba;
  --gray: #6d6d68;
  --light-gray: #dddcd6;
  --accent: #8a7a60;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Syne', sans-serif;
  cursor: none;
  overflow-x: hidden;
}
body.intro-active {
  overflow: hidden;
}

/* ─── INTRO SPLASH ─── */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(138, 122, 96, 0.18), rgba(239, 239, 235, 0) 46%),
    linear-gradient(180deg, #f1f0ec 0%, #e9e8e2 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-bg-shape {
  position: absolute;
  width: min(78vw, 820px);
  height: min(78vw, 820px);
  border: 1px solid rgba(26, 26, 26, 0.09);
  border-radius: 50%;
  transform: translateY(-5%);
}
.intro-shape {
  position: absolute;
  --intro-rot: 0deg;
  opacity: 0;
  animation: introShapeIn 1s ease forwards, introShapeFloat 5.8s ease-in-out 1.1s infinite;
}
.intro-ring-lg {
  width: min(56vw, 620px);
  height: min(56vw, 620px);
  border: 1px solid rgba(138, 122, 96, 0.2);
  border-radius: 50%;
  left: 8%;
  top: 14%;
  animation-delay: 0.2s, 1.25s;
}
.intro-ring-sm {
  width: min(22vw, 260px);
  height: min(22vw, 260px);
  border: 1px solid rgba(138, 122, 96, 0.28);
  border-radius: 50%;
  right: 18%;
  bottom: 18%;
  animation-delay: 0.38s, 1.4s;
}
.intro-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(138, 122, 96, 0.72);
  right: 22%;
  top: 27%;
  animation-delay: 0.5s, 1.55s;
}
.intro-square {
  width: min(14vw, 160px);
  height: min(14vw, 160px);
  border: 1px solid rgba(26, 26, 26, 0.11);
  --intro-rot: 32deg;
  left: 20%;
  bottom: 20%;
  animation-delay: 0.32s, 1.3s;
}
.intro-line {
  width: min(24vw, 300px);
  height: 1px;
  background: rgba(26, 26, 26, 0.22);
  left: 58%;
  top: 30%;
  --intro-rot: -22deg;
  animation-delay: 0.56s, 1.7s;
}
.intro-logo {
  width: clamp(130px, 14vw, 220px);
  height: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  animation: introLogoIn 0.85s 0.12s ease forwards;
}
@keyframes introLogoIn {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes introShapeIn {
  from { opacity: 0; transform: translateY(10px) rotate(var(--intro-rot)) scale(0.96); }
  to { opacity: 1; transform: translateY(0) rotate(var(--intro-rot)) scale(1); }
}
@keyframes introShapeFloat {
  0% { transform: translateY(0) rotate(var(--intro-rot)); }
  50% { transform: translateY(-8px) rotate(var(--intro-rot)); }
  100% { transform: translateY(0) rotate(var(--intro-rot)); }
}

/* ─── CURSOR ─── */
#cursor {
  width: 10px; height: 10px;
  background: var(--dark);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease, background 0.2s;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--dark);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.35s cubic-bezier(.23,1,.32,1), width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
body.hovering #cursor { transform: translate(-50%,-50%) scale(2.5); background: var(--accent); }
body.hovering #cursor-ring { width: 60px; height: 60px; opacity: 0.25; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  height: 76px;
  background: rgba(239, 239, 235, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: height 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  height: 62px;
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
  flex-shrink: 0;
  justify-self: start;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: none;
  transform-origin: center;
}
.nav-links {
  display: flex; gap: 48px; list-style: none;
  justify-self: center;
}
.nav-links a {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gray); text-decoration: none;
  transition: color 0.3s;
  position: relative;
  font-weight: 500;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--dark);
  transition: width 0.35s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }

/* nav right side placeholder for balance */
.nav-right { justify-self: end; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: none; padding: 4px;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--cream);
  z-index: 300;
  padding: 100px 48px 60px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.23,1,.32,1);
  border-left: 1px solid var(--light-gray);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--light-gray); }
.mobile-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300;
  color: var(--dark); text-decoration: none;
  padding: 20px 0;
  transition: color 0.2s, padding-left 0.3s;
}
.mobile-link:hover { color: var(--accent); padding-left: 8px; }
.mobile-menu-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none;
  font-size: 24px; color: var(--gray);
  cursor: none; line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--dark); }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(16,16,16,0.3);
  z-index: 250;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}
.mobile-overlay.visible { opacity: 1; pointer-events: all; }

/* ─── HERO ─── */
#hero {
  min-height: calc(100vh - 8px);
  position: relative;
  overflow: hidden;
  padding: 84px 44px 38px;
  background: #ecebe8;
  display: grid;
  grid-template-columns: minmax(360px, 42%) minmax(420px, 58%);
  align-items: center;
  column-gap: 28px;
}
.hero-orbit {
  position: absolute;
  width: min(74vw, 940px);
  height: min(74vw, 940px);
  border: 1px solid rgba(16, 16, 16, 0.14);
  border-radius: 50%;
  left: 34%;
  top: 4%;
  z-index: 0;
}
.hero-media-main {
  position: absolute;
  right: 4.5%;
  top: 15%;
  width: min(50vw, 760px);
  height: min(62vh, 560px);
  background: #d7d5d0;
  z-index: 1;
  overflow: hidden;
  border: 8px solid #ecebe8;
}
.hero-media-accent {
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: min(28vw, 430px);
  height: min(24vh, 230px);
  z-index: 2;
  overflow: hidden;
  border: 8px solid #ecebe8;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 560px;
  padding: 26px 20px 26px 6px;
  background: linear-gradient(90deg, rgba(236,235,232,0.96) 0%, rgba(236,235,232,0.78) 68%, rgba(236,235,232,0) 100%);
  opacity: 0;
  animation: fadeUp 0.9s 0.45s forwards;
}
.hero-shape {
  --hero-rot: 0deg;
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  animation: heroShapeFloat 8s ease-in-out infinite;
}
.hero-shape-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(138, 122, 96, 0.48);
  background: transparent;
  left: 13%;
  bottom: 12%;
}
.hero-shape-bar {
  width: 84px;
  height: 2px;
  background: rgba(16, 16, 16, 0.28);
  left: 4%;
  top: 62%;
}
.hero-shape-ring {
  width: min(24vw, 290px);
  height: min(24vw, 290px);
  border-radius: 50%;
  border: 1px solid rgba(16, 16, 16, 0.16);
  left: 11%;
  top: 2%;
}
.hero-shape-ring-soft {
  width: min(10vw, 124px);
  height: min(10vw, 124px);
  border-radius: 50%;
  border: 1px solid rgba(138, 122, 96, 0.3);
  right: 26%;
  top: 6%;
  animation-delay: 1.2s;
}
.hero-shape-square {
  width: min(9vw, 110px);
  height: min(9vw, 110px);
  border: 1px solid rgba(16, 16, 16, 0.12);
  --hero-rot: 24deg;
  right: 18%;
  top: 16%;
  animation-delay: 1.8s;
}
.hero-shape-line {
  width: min(22vw, 280px);
  height: 1px;
  background: rgba(16, 16, 16, 0.2);
  right: 6%;
  top: 56%;
  --hero-rot: -18deg;
  animation-delay: 0.8s;
}
.hero-shape-triangle {
  width: 26px;
  height: 22px;
  border: 1px solid rgba(16, 16, 16, 0.18);
  background: transparent;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  left: 19%;
  top: 22%;
  animation-delay: 1s;
}
.hero-shape-rhombus {
  width: 78px;
  height: 78px;
  border: 1.5px solid rgba(138, 122, 96, 0.45);
  --hero-rot: 45deg;
  right: 24%;
  bottom: 13%;
  animation-delay: 0.8s;
}
.hero-shape-cta-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(138, 122, 96, 0.44);
  background: transparent;
  left: 11.8%;
  bottom: 13%;
  animation-delay: 0.45s;
}
.hero-shape-cta-triangle {
  width: 16px;
  height: 14px;
  border: 1px solid rgba(16, 16, 16, 0.2);
  background: transparent;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  left: 14.6%;
  bottom: 14.6%;
  animation-delay: 1.05s;
}
.hero-shape-cta-rhombus {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(138, 122, 96, 0.45);
  --hero-rot: 45deg;
  left: 18.1%;
  bottom: 12.2%;
  animation-delay: 1.35s;
}
.hero-shape-cta-line {
  width: 52px;
  height: 1px;
  background: rgba(16, 16, 16, 0.2);
  left: 9.1%;
  bottom: 10.2%;
  --hero-rot: 7deg;
  animation-delay: 0.9s;
}
@keyframes heroShapeFloat {
  0% { transform: translateY(0) rotate(var(--hero-rot)); }
  50% { transform: translateY(-10px) rotate(var(--hero-rot)); }
  100% { transform: translateY(0) rotate(var(--hero-rot)); }
}
.hero-eyebrow {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--dark); margin-bottom: 20px;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(50px, 6.6vw, 98px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -2px;
  text-transform: uppercase;
}
.hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  color: var(--dark);
}
.hero-subtitle {
  margin-top: 24px;
  font-size: 14px; color: #2c2c2c; line-height: 1.72;
  max-width: 380px;
  letter-spacing: 0.15px;
  padding: 8px 0;
}
.hero-cta {
  margin-top: 30px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  border: 1px solid var(--dark); padding: 14px 30px;
  transition: background 0.35s ease, color 0.35s ease;
  position: relative; overflow: hidden;
  font-family: 'Syne', sans-serif;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--dark); transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(.23,1,.32,1);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--cream); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary .btn-arrow { position: relative; z-index: 1; transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.hero-meta {
  margin-top: 48px; display: flex; align-items: center; gap: 0;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; padding: 0 32px 0 0; }
.meta-item:first-child { padding-left: 0; }
.meta-divider { width: 1px; height: 36px; background: var(--light-gray); margin-right: 32px; }
.meta-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 300; line-height: 1;
}
.meta-label { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray); }

.hero-tag {
  position: absolute; bottom: 32px; right: 48px;
  font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--warm);
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 54px; z-index: 10;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--light-gray);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--dark);
  animation: lineSlide 2s 1.6s ease-in-out infinite;
}
@keyframes lineSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.scroll-text { font-size: 9px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gray); }

/* ─── CONSTRUCTION ANIMATION SECTION ─── */
#construction {
  min-height: clamp(560px, 82vh, 900px);
  display: flex; align-items: center; justify-content: center;
  padding: 28px 0 34px;
  position: relative; overflow: hidden;
  background: var(--dark);
}
.construction-inner {
  width: 100%; max-width: 1200px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 2;
}
.const-label {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.const-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px); font-weight: 300;
  color: var(--cream); line-height: 1.1; margin-bottom: 0;
}
.const-title em { font-style: italic; color: #c8a86a; }
.building-anim { margin: -12px auto 0; width: min(90vw, 860px); position: relative; }
.houses-contain {
  margin: 0 auto; width: min(860px, 92vw);
  display: flex; flex-flow: row nowrap;
  justify-content: center; gap: clamp(18px, 4vw, 56px); align-items: flex-end;
}
.house-loader {
  width: min(190px, 27vw); height: auto; position: relative;
  transform-style: preserve-3d; overflow: visible;
}
.house-loader .shape { fill-opacity: 0.5; }
.h-l1 .shape { fill: #c8a86a !important; }
.h-l1 line { stroke: #977645 !important; }
.h-l2 .shape { fill: #b89259 !important; }
.h-l2 line { stroke: #87653a !important; }
.h-l3 .shape { fill: #a9824d !important; }
.h-l3 line { stroke: #6f512f !important; }
.grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.04; }

/* ─── PROJECTS SECTION ─── */
#projects {
  padding: 120px 60px;
  color: #111111;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 80px; padding-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
}
.section-label {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
}
.section-title em { font-style: italic; }
.section-count {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Project list */
.projects-list { display: flex; flex-direction: column; gap: 0; }

.project-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 120px 32px;
  align-items: center; gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--light-gray);
  cursor: none;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.project-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--dark);
  transition: width 0.5s cubic-bezier(.23,1,.32,1); z-index: 0;
}
.project-item:hover::before { width: 3px; }
.project-item > * { position: relative; z-index: 1; }

.proj-index {
  padding-left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300; color: var(--light-gray);
  transition: color 0.3s;
}
.project-item:hover .proj-index { color: var(--accent); }
.proj-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 400; line-height: 1.1;
  transition: color 0.2s; margin-bottom: 6px;
}
.project-item:hover .proj-name { color: var(--accent); }
.proj-location {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray);
}
.proj-desc { font-size: 13px; color: var(--gray); line-height: 1.7; max-width: 380px; }
.proj-meta { text-align: right; }
.proj-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; display: block; margin-bottom: 4px;
}
.proj-type { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); }
.proj-arrow {
  font-size: 18px; color: var(--light-gray);
  transition: color 0.3s, transform 0.3s;
}
.project-item:hover .proj-arrow { color: var(--accent); transform: translateX(4px); }

/* ─── EXPANDED PROJECT DETAIL ─── */
.project-detail {
  display: none;
  grid-column: 1 / -1;
  padding: 48px 0 32px;
  border-top: 1px solid var(--light-gray);
  margin-top: -1px;
}
.project-detail.open {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(34px, 4.2vw, 72px);
  background: #f0efeb;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.project-detail.open.visible,
.project-detail.open {
  opacity: 1;
}

.detail-visual {
  position: relative;
  background: var(--light-gray);
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  padding: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: #f0efeb;
}
.detail-photo:first-child,
.detail-photo.active-img {
  opacity: 1;
}

.detail-visual.img-missing {
  background: #eceae5;
}
.detail-visual.img-missing::after {
  content: 'Falta imagen: ' attr(data-image);
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #77716a;
}

/* Thumbnails */
.gallery-thumbnails {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-thumbnails::-webkit-scrollbar { display: none; }
.thumb {
  flex: 1 0 220px;
  height: 128px;
  background: var(--light-gray);
  cursor: none;
  opacity: 0.45;
  transition: opacity 0.3s ease;
  border: 2px solid transparent;
  position: relative; overflow: hidden;
}
.thumb.active {
  opacity: 1;
  border-color: var(--accent);
}
.thumb:hover { opacity: 0.75; }

.gallery-main {
  position: relative;
}

.gallery-controls {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}

.gallery-controls .gallery-thumbnails {
  margin-top: 0;
  min-width: 0;
}

.gallery-nav-btn {
  border: none;
  background: transparent;
  color: #b7b0a2;
  font-size: 28px;
  line-height: 1;
  padding: 0 8px;
  cursor: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gallery-nav-btn i {
  display: block;
  line-height: 1;
}

.gallery-nav-btn:hover {
  color: #8f846f;
  transform: translateY(-1px);
}

.detail-tag {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; line-height: 1.1; margin-bottom: 24px;
}
.detail-body {
  font-size: 13.5px; color: var(--gray); line-height: 1.85; margin-bottom: 32px;
}
.detail-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--light-gray);
}
.spec-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--warm); margin-bottom: 4px; }
.spec-val { font-size: 14px; font-weight: 500; }
.close-btn {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--dark); background: none; border: 1px solid var(--dark);
  padding: 12px 24px; cursor: none; transition: all 0.3s;
  font-family: 'Syne', sans-serif;
}
.close-btn:hover { background: var(--dark); color: var(--cream); }

/* ─── CONTACT ─── */
#contact {
  min-height: 60vh;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #eceae5;
  border-top: 1px solid #d7d4cd;
  border-bottom: 1px solid #d3d0c8;
}
.contact-label {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5vw, 80px); font-weight: 300; line-height: 1; margin-bottom: 40px;
}
.contact-title em { font-style: italic; }
.contact-email {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--dark); text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  background: #101317; color: #d8d3ca;
  border-top: 1px solid #3c3428;
  padding: 32px 60px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase;
}
footer span { transition: color 0.2s; }
footer span:hover { color: #f0d9a8; cursor: default; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.23,1,.32,1), transform 0.9s cubic-bezier(.23,1,.32,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .project-item { grid-template-columns: 70px 1fr 100px 24px; gap: 24px; }
  .proj-desc { display: none; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; height: 64px; grid-template-columns: 1fr auto; }
  nav .nav-links { display: none; }
  .nav-hamburger { display: flex; justify-self: end; }
  .nav-logo { height: 36px; }
  .nav-logo img { height: 34px; transform: none; }

  #hero {
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 14px;
    padding: 78px 14px 20px;
  }
  .hero-orbit {
    width: 160vw;
    height: 160vw;
    left: -32vw;
    top: 14%;
  }
  .hero-media-main {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 42vh;
    border-width: 6px;
  }
  .hero-media-accent {
    right: 4%;
    bottom: 6%;
    width: 48vw;
    height: 16vh;
    border-width: 6px;
  }
  .hero-content {
    order: -1;
    max-width: 100%;
    padding: 6px 4px 10px;
    background: none;
  }
  .hero-title { font-size: clamp(46px, 12.8vw, 72px); }
  .hero-subtitle { max-width: 92%; font-size: 13px; }
  .hero-shape-bar {
    width: 56px;
    height: 2px;
    left: 4%;
    top: 73%;
  }
  .hero-shape-dot {
    left: 24%;
    bottom: 11%;
    width: 12px;
    height: 12px;
  }
  .hero-shape-ring { width: 40vw; height: 40vw; left: -4%; top: 20%; }
  .hero-shape-ring-soft { width: 18vw; height: 18vw; right: 10%; top: 16%; }
  .hero-shape-triangle { left: 8%; top: 34%; width: 18px; height: 15px; }
  .hero-shape-rhombus { right: 20%; bottom: 16%; width: 44px; height: 44px; }
  .hero-shape-cta-dot { left: 24%; bottom: 15%; width: 11px; height: 11px; }
  .hero-shape-cta-triangle { left: 30%; bottom: 16.5%; width: 12px; height: 10px; }
  .hero-shape-cta-rhombus { left: 35%; bottom: 14.6%; width: 11px; height: 11px; }
  .hero-shape-cta-line { left: 16%; bottom: 12.6%; width: 42px; }
  .hero-shape-square,
  .hero-shape-line { display: none; }
  .scroll-hint { left: 16px; bottom: 10px; }

  #construction { min-height: 68vh; padding: 30px 0 24px; }
  .const-label { margin-bottom: 14px; letter-spacing: 3.5px; }
  .const-title { font-size: clamp(34px, 11vw, 56px); line-height: 1.04; }
  .building-anim { width: 100%; max-width: 420px; margin-top: 8px; padding: 0 14px; }
  .houses-contain { width: 100%; gap: clamp(14px, 5.8vw, 28px); padding: 0 14px; }
  .house-loader { width: clamp(80px, 22vw, 96px); }

  #projects { padding: 80px 24px; }
  .project-item {
    grid-template-columns: 62px 1fr 80px;
    gap: 16px; padding: 28px 0;
  }
  .proj-desc, .proj-meta, .proj-arrow { display: none; }
  .proj-index { padding-left: 14px; font-size: 36px; }
  .proj-name { font-size: 24px; }

  .project-detail.open { grid-template-columns: 1fr; gap: 32px; }
  .gallery-thumbnails { gap: 8px; }
  .thumb { flex-basis: 150px; height: 84px; }
  .gallery-controls { margin-top: 8px; column-gap: 6px; }
  .gallery-nav-btn { font-size: 24px; padding: 0 6px; }

  #contact { min-height: 48vh; padding: 56px 24px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(40px, 13vw, 62px); }
  .hero-dark-panel { width: 24vw; }
  .hero-media-main { height: 36vh; }
  .hero-media-accent { width: 52vw; height: 15vh; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 38px; }
  .hero-content { padding: 0; }
  .contact-title { font-size: clamp(42px, 14vw, 64px); }

  #construction { min-height: 62vh; }
  .const-title { font-size: clamp(30px, 10.8vw, 46px); }
  .building-anim { padding: 0 16px; }
  .houses-contain { gap: 16px; padding: 0 16px; }
  .house-loader { width: clamp(72px, 21vw, 86px); }
}