/* ============================================
   SALERO HOMES - Main Stylesheet
   Colors: Teal #2D3E3A, Gold #C49A5C, Copper #C49A5C
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #4A4A4A;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.3;
}

.label-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ---- Intro Splash ---- */
.intro-splash {
  position: fixed;
  inset: 0;
  background: #1C3833;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.intro-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  animation: introReveal 1.2s ease forwards 0.3s;
}

.intro-logo-img {
  width: 220px;
  height: auto;
}

.intro-line {
  width: 0;
  height: 1px;
  background: #C49A5C;
  margin-top: 30px;
  animation: lineExpand 0.8s ease forwards 1.2s;
}

@keyframes introReveal {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes lineExpand {
  0% { width: 0; }
  100% { width: 120px; }
}

/* ---- Layout ---- */
.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: 270px;
  height: 100vh;
  background: #1C3833;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px 36px;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-logo {
  width: 180px;
  margin-bottom: 48px;
  flex-shrink: 0;
}

.sidebar-logo img { width: 100%; height: auto; }
.sidebar-logo svg { width: 100%; height: auto; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: auto;
}

.sidebar-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
}

.sidebar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 1px;
  background: #C49A5C;
  transition: width 0.3s, left 0.3s;
}

.sidebar-nav a:hover::after,
.sidebar-nav a.active::after {
  width: 100%; left: 0;
}

.sidebar-phone {
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
}

.main-content {
  margin-left: 270px;
  min-height: 100vh;
  background: #fff;
}

/* ---- Hamburger (Mobile) ---- */
.hamburger {
  display: none;
  position: fixed;
  top: 35px; right: 20px;
  z-index: 1100;
  width: 28px; height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: #C49A5C;
  transition: 0.3s;
}

.hamburger.open span { background: #1C3833; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-header {
  display: none;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.hero img,
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 7s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Hero progress bar - subtle thin line */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(196, 154, 92, 0.7);
  z-index: 6;
  width: 0;
  animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Hero arrows - subtle */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  padding: 0;
}

.hero-arrow:hover { opacity: 0.9; }

.hero-arrow svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 1.5;
  fill: none;
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Sticky project name bar */
.project-sticky-bar {
  position: fixed;
  top: 0;
  left: 270px;
  right: 0;
  height: 48px;
  background: #1C3833;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.project-sticky-bar.visible {
  transform: translateY(0);
}

.project-sticky-bar span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: #C49A5C;
}

/* Hero small dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: rgba(255,255,255,0.9);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 18px; height: 18px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ---- Section Shared ---- */
.section {
  padding: 100px 60px;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2D3E3A;
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #C49A5C;
}

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #2D3E3A;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-body {
  max-width: 750px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 1.15rem;
  color: #666;
  line-height: 1.9;
}

/* ---- Sun Icon ---- */
.sun-icon {
  display: block;
  margin: 0 auto 28px;
  width: 150px; height: auto;
}

.sun-icon svg {
  width: 100%; height: auto;
}

/* ---- Legacy Section ---- */
.legacy-section {
  background: #fff;
  padding: 80px 60px 40px;
  text-align: center;
}

/* ---- Featured Section ---- */
.featured-section {
  padding: 80px 60px;
  background: #fff;
}

/* ---- Carousel ---- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background 0.3s;
}

.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-btn svg {
  width: 16px; height: 16px;
  stroke: #2D3E3A;
  stroke-width: 2.5;
  fill: none;
}

.carousel-label {
  text-align: center;
  margin-top: 0;
  padding: 16px 0;
  border: 1px solid #e0d5c9;
  border-top: none;
}

.carousel-label a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2D3E3A;
  transition: color 0.3s;
}

.carousel-label a:hover { color: #C49A5C; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots .dot.active {
  background: #fff;
}

/* ---- Latest Section ---- */
.latest-section {
  padding: 80px 60px;
  background: #fff;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* ---- View All Button ---- */
.view-all-wrap {
  text-align: center;
  padding: 60px 0 0;
}

.btn-view-all {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C49A5C;
  border: 1px solid #C49A5C;
  padding: 14px 40px;
  transition: all 0.3s;
}

.btn-view-all:hover {
  background: #C49A5C;
  color: #fff;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 40px 60px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #C49A5C;
  background: #1C3833;
}

.powered-by {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(196, 154, 92, 0.45);
  transition: color 0.3s;
}

.powered-by:hover {
  color: #C49A5C;
}

/* ---- Work Page ---- */
.work-hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.work-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.work-hero h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 60px;
}

.project-card {
  display: block;
  transition: transform 0.3s;
}

.project-card:hover { transform: translateY(-4px); }

.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-card-name {
  margin-top: 0;
  padding: 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2D3E3A;
  text-align: center;
  border: 1px solid #e0d5c9;
  border-top: none;
}

/* ---- Project Detail Page ---- */
.project-header {
  text-align: center;
  padding: 80px 60px 40px;
}

.project-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2D3E3A;
  margin-bottom: 24px;
}

.project-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

.project-hero-img {
  padding: 0 60px;
}

.project-hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.project-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 60px;
}

.project-grid-2col img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-full-img {
  padding: 24px 60px 80px;
}

.project-full-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ---- People Page ---- */
.people-hero {
  width: 100%;
  overflow: hidden;
}

.people-hero-img {
  width: 100%;
  height: 45vh;
  object-fit: cover;
}

.people-story {
  padding: 80px 60px;
  text-align: center;
}

.story-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.story-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 20px;
}

.story-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem !important;
  font-style: italic;
  color: #2D3E3A !important;
  margin: 30px 0 !important;
  letter-spacing: 0.02em;
}

.people-image-break {
  width: 100%;
  padding: 0 60px;
}

.people-image-break img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}

.people-gallery {
  padding: 80px 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-align: center;
  text-transform: uppercase;
}

/* ---- People Duo (overlapping photos) ---- */
.people-duo {
  padding: 20px 60px 40px;
  display: flex;
  justify-content: center;
}

.duo-wrapper {
  position: relative;
  width: 70%;
  max-width: 700px;
  aspect-ratio: 16/10;
}

.duo-img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 3px solid #fff;
}

.duo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duo-img-back {
  width: 58%;
  height: 85%;
  top: 0;
  left: 0;
  z-index: 1;
}

.duo-img-front {
  width: 55%;
  height: 80%;
  bottom: 0;
  right: 0;
  z-index: 2;
}

/* ---- Contact Page ---- */
.contact-section {
  padding: 80px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: #2D3E3A;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.contact-details {
  text-align: center;
  margin-bottom: 50px;
}

.contact-details p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 8px;
}

.contact-details a {
  color: #C49A5C;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #2D3E3A;
}

.contact-info {
  text-align: center;
  margin-bottom: 48px;
  font-size: 0.85rem;
  color: #888;
}

.contact-info a { color: #C49A5C; }

.contact-form { display: flex; flex-direction: column; gap: 24px; }

.contact-form label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2D3E3A;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #4A4A4A;
  background: #fff;
  transition: border-color 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: #C49A5C; }

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form button[type="submit"] {
  align-self: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  background: #2D3E3A;
  padding: 16px 48px;
  border: 1px solid #2D3E3A;
  transition: all 0.3s;
}

.contact-form button[type="submit"]:hover {
  background: transparent;
  color: #2D3E3A;
}

/* ---- Project Detail V2 (Enve-style) ---- */
.project-hero-v2 {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-hero-v2 img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.project-hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 56, 51, 0.4);
}

.project-hero-v2-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.project-hero-v2-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.project-intro {
  padding: 80px 60px 60px;
  text-align: center;
}

.project-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #1C3833;
  margin-bottom: 16px;
}

.project-intro .project-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C49A5C;
  margin-bottom: 32px;
  display: inline-block;
}

.project-intro .project-desc {
  max-width: 700px;
  margin: 0 auto 48px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e0d5c9;
}

.project-meta-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1C3833;
  margin-bottom: 12px;
}

.project-meta-col p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #888;
  line-height: 1.8;
}

/* Gallery V2 */
.project-gallery-v2 {
  padding: 0 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-full {
  width: 100%;
}

.gallery-full img {
  width: 100%;
  object-fit: cover;
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-pair img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-back-v2 {
  text-align: center;
  padding: 60px 60px 80px;
}

/* Responsive for V2 */
@media (max-width: 900px) {
  .project-hero-v2 { height: 60vh; }
  .project-hero-v2-text h1 { font-size: 2.4rem; letter-spacing: 0.15em; }
  .project-intro { padding: 60px 24px 40px; }
  .project-meta { gap: 40px; }
  .project-gallery-v2 { padding: 0 24px 30px; gap: 16px; }
  .gallery-pair { gap: 16px; }
  .project-back-v2 { padding: 40px 24px 60px; }
}

@media (max-width: 600px) {
  .project-hero-v2 { height: 50vh; }
  .project-hero-v2-text h1 { font-size: 1.8rem; letter-spacing: 0.1em; }
  .project-intro { padding: 50px 20px 30px; }
  .project-intro h2 { font-size: 1.8rem; }
  .project-intro .project-desc { font-size: 0.88rem; }
  .project-meta { flex-direction: column; gap: 24px; }
  .project-gallery-v2 { padding: 0 20px 20px; gap: 12px; }
  .gallery-pair { grid-template-columns: 1fr; gap: 12px; }
  .project-back-v2 { padding: 30px 20px 50px; }
}

/* ---- Fade-in Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible,
.fade-in.no-js {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Project Back Button ---- */
.project-back {
  text-align: center;
  padding: 40px 60px 80px;
}

/* ---- Responsive: Tablet & Mobile ---- */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .sidebar.mobile-open {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: #1C3833;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1050;
    animation: menuSlideDown 0.4s ease;
  }
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .sidebar.mobile-open .sidebar-logo { display: block; margin-bottom: 50px; }
  .sidebar.mobile-open .sidebar-logo img { height: 80px; }
  .sidebar.mobile-open .sidebar-phone {
    display: block;
    color: #C49A5C;
    margin-top: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
  }
  .sidebar.mobile-open .sidebar-nav {
    align-items: center;
    gap: 0;
    margin-bottom: 0;
  }
  .sidebar.mobile-open .sidebar-nav a {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    padding: 16px 0;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(196, 154, 92, 0.15);
    width: 200px;
    text-align: center;
  }
  .sidebar.mobile-open .sidebar-nav a:last-child { border-bottom: none; }
  .sidebar.mobile-open .sidebar-nav a:hover,
  .sidebar.mobile-open .sidebar-nav a.active { color: #C49A5C; }
  .project-sticky-bar { left: 0; }
  .hamburger { display: flex; }
  .mobile-header {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 90px;
    background: #1C3833;
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px;
    z-index: 1000;
    border-bottom: none;
  }
  .mobile-header img {
    height: 82px;
    width: auto;
  }
  .main-content {
    margin-left: 0;
    padding-top: 90px;
  }
  .hero { height: 70vh; padding-top: 0; margin-top: -70px; }
  .section, .legacy-section, .featured-section, .latest-section { padding: 60px 24px; }
  .projects-grid { grid-template-columns: 1fr; padding: 40px 24px; gap: 30px; }
  .latest-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-hero-img, .project-grid-2col, .project-full-img { padding-left: 24px; padding-right: 24px; }
  .project-header { padding: 60px 24px 30px; }
  .project-back { padding: 40px 24px 60px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .people-image-break { padding: 0; }
  .people-duo { padding: 20px 24px 30px; }
  .duo-wrapper { width: 90%; }
  .people-story { padding: 60px 24px; }
  .people-gallery { padding: 60px 24px; }
  .contact-section { padding: 60px 24px; }
  .footer { padding: 30px 24px; font-size: 0.65rem; }

  /* Carousel touch-friendly dots */
  .carousel-dots .dot {
    width: 12px; height: 12px;
    padding: 0;
    /* Increase touch area without changing visual size */
    position: relative;
  }
  .carousel-dots .dot::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
  }

  /* Carousel arrows */
  .carousel-btn { width: 40px; height: 40px; }

  /* Work page hero */
  .work-hero { height: 250px; }
  .work-hero h1 { font-size: 1.6rem; letter-spacing: 0.08em; padding: 0 20px; }

  /* Sun icon smaller on mobile */
  .sun-icon { width: 90px; }

  /* Section heading */
  .section-heading { font-size: 1.1rem; letter-spacing: 0.15em; }
}

@media (max-width: 600px) {
  .hero { height: 60vh; }
  .section-heading { font-size: 1rem; letter-spacing: 0.12em; }
  .section-body { font-size: 0.9rem; line-height: 1.8; padding: 0 8px; }
  .work-hero { height: 220px; }
  .work-hero h1 { font-size: 1.3rem; }
  .project-grid-2col { grid-template-columns: 1fr; gap: 16px; padding-left: 20px; padding-right: 20px; }
  .project-header { padding: 50px 20px 24px; }
  .project-header h1 { font-size: 2rem; }
  .project-header p { font-size: 0.88rem; }
  .project-hero-img { padding: 0 20px; }
  .project-full-img { padding: 16px 20px 60px; }
  .project-back { padding: 30px 20px 50px; }
  /* People page gallery: 2 columns on phone for better use of space */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item img { aspect-ratio: 1/1; }
  .gallery-item span { font-size: 0.55rem; padding: 8px 4px; letter-spacing: 0.15em; }
  .people-hero-img { height: 35vh; }
  .people-story { padding: 50px 20px; }
  .people-gallery { padding: 40px 20px; }
  .story-highlight { font-size: 1.3rem !important; }
  .people-image-break { padding: 0 20px; }
  .people-duo { padding: 10px 20px 20px; }
  .duo-wrapper { width: 100%; }
  .people-image-break img { height: 35vh; }
  /* Legacy section: add top padding so sun icon isn't clipped */
  .legacy-section { padding: 40px 20px 20px; }
  .sun-icon { width: 70px; margin-bottom: 18px; }
  /* Contact page */
  .contact-section { padding: 50px 20px; }
  .contact-section h1 { font-size: 2rem; }
  .contact-form button[type="submit"] { width: 100%; padding: 16px; }
  /* Featured + Latest sections spacing */
  .featured-section { padding: 50px 20px; }
  .latest-section { padding: 50px 20px; }
  .btn-view-all { padding: 14px 32px; font-size: 0.65rem; }
  .carousel-label a { font-size: 0.7rem; }
  .project-card-name { font-size: 0.7rem; letter-spacing: 0.2em; padding: 14px 0; }
  .scroll-indicator { width: 38px; height: 38px; bottom: 24px; }
  .scroll-indicator svg { width: 15px; height: 15px; }
  .section-label { font-size: 0.65rem; gap: 14px; }
  .footer { padding: 24px 20px; }
  .mobile-header { height: 90px; justify-content: flex-start; padding-left: 16px; }
  .mobile-header img { height: 82px; }
  .main-content { padding-top: 90px; }
  .hamburger { top: 35px; right: 18px; }
  .sidebar.mobile-open { padding: 70px 20px 24px; }
  /* Projects grid on work page */
  .projects-grid { padding: 30px 20px; gap: 24px; }
  .view-all-wrap { padding: 40px 0 0; }
}

/* ── Skip Link (ADA) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #C49A5C;
  color: #1a1a1a;
  padding: 10px 20px;
  z-index: 10000;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Legal Pages ── */
.thankyou-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  text-align: center;
  padding: 80px 40px;
}
.thankyou-content {
  max-width: 600px;
}

.legal-section {
  padding: 80px 60px 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
}
.legal-section .section-heading {
  color: #2c2c2c;
}
.legal-updated {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 40px;
  font-style: italic;
}
.legal-content {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content strong {
  color: #222;
}
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 2rem 0 0.8rem;
  color: #2c2c2c;
}
.legal-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
  color: #444;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: #8B6F3A;
  text-decoration: underline;
}
.legal-content a:hover {
  color: #C49A5C;
}
.footer a {
  color: rgba(240,236,228,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #C49A5C;
}

@media (max-width: 768px) {
  .legal-section { padding: 50px 20px 40px; }
}

/* ── 404 Page ── */
.error-section {
  padding: 120px 60px 80px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .error-section { padding: 80px 20px 60px; }
}
