/* =========================================================
   eCube — Multi-page extra styles
   Extends styles.css — DO NOT modify styles.css
   ========================================================= */

/* ========== HERO TWO-COLUMN LAYOUT (text left, image slider right) ========== */
/* Base: hidden on mobile */
.hero-img-panel {
  display: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15, 58, 46, 0.22);
}
.hero-img-panel .carousel-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--forest);
  display: block;
}
.hero-img-panel .carousel-track {
  height: 100%;
}
.hero-img-panel .carousel-slide {
  height: 100%;
}
.hero-img-panel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 14px 0 4px;
}
.hero-dots .carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(15, 58, 46, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
  padding: 0;
}
.hero-dots .carousel-dot.active {
  background: var(--forest);
  width: 22px;
  border-radius: 4px;
}
/* Desktop: show side-by-side */
@media (min-width: 960px) {
  .hero-inner {
    display: flex;
    align-items: center;
    gap: 56px;
  }
  .hero-content {
    flex: 0 0 50%;
    min-width: 0;
  }
  .hero-img-panel {
    display: block;
    flex: 1;
    min-width: 0;
  }
}

/* ========== INNER PAGE: always solid nav (dark hero sections sit below) ========== */
body.inner-page #header {
  background: rgba(245, 241, 232, 0.96);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--rule);
}

/* ========== HERO CAROUSEL OVERLAY ARROWS ========== */
.hero-carousel-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10;
  width: 40px !important;
  height: 40px !important;
  background: rgba(11, 31, 26, 0.55) !important;
  color: var(--bone) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(245, 241, 232, 0.25) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background var(--t), transform var(--t) !important;
  flex-shrink: 0;
}
.hero-carousel-btn:hover {
  background: var(--forest) !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.carousel-wrap .carousel-prev.hero-carousel-btn {
  left: 12px;
}
.carousel-wrap .carousel-next.hero-carousel-btn {
  right: 12px;
}

/* ========== MOBILE NAV LINK ANIMATION FIX ========== */
/* transform was missing from the transition list — links were permanently hidden
   behind overflow:hidden on the li because transition-delay blocked the snap */
.nav-link {
  transition: color var(--t), padding-left var(--t), transform 0.6s var(--ease-2) !important;
}
/* Reset transition-delay to 0 by default so closed state resets cleanly */
.nav-links:not(.open) .nav-link {
  transition-delay: 0s !important;
}

/* ========== HAMBURGER Z-INDEX (must sit above .nav-links overlay) ========== */
.hamburger {
  position: relative;
  z-index: 960;
}

/* ========== LOGO IMAGE ========== */
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ========== NAV DROPDOWN ========== */
/* Mobile: show sub-items inline, collapsible */
.nav-has-dropdown > .nav-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  position: relative;
}
.dropdown-arrow {
  margin-left: 4px;
  font-size: 0.65em;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.nav-has-dropdown.dropdown-open .dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 959px) {
  .nav-dropdown {
    display: none;
    padding-left: 28px;
    padding-bottom: 4px;
  }
  .nav-has-dropdown.dropdown-open .nav-dropdown {
    display: block;
  }
  .nav-dropdown li {
    border-bottom: 1px solid rgba(245,241,232,0.08) !important;
    overflow: hidden;
  }
  .nav-dropdown a {
    display: block;
    font-family: var(--font-sans) !important;
    font-size: 1.3rem !important;
    padding: 12px 0 !important;
    color: rgba(245,241,232,0.72) !important;
    transition: color var(--t), padding-left var(--t) !important;
    transform: none !important;
    letter-spacing: -0.01em;
  }
  .nav-dropdown a:hover {
    color: var(--ochre) !important;
    padding-left: 8px !important;
  }
}

/* Desktop: hover dropdown */
@media (min-width: 960px) {
  .nav-has-dropdown {
    position: relative;
  }
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--bone);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    min-width: 260px;
    padding: 8px;
    padding-top: 16px;
    margin-top: -8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: var(--shadow);
    z-index: 1000;
    list-style: none;
  }
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown li {
    width: auto !important;
    border-bottom: none !important;
    overflow: visible !important;
  }
  .nav-dropdown a {
    display: block !important;
    padding: 10px 14px !important;
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--forest) !important;
    border-radius: var(--radius-sm) !important;
    transition: background var(--t), padding-left var(--t) !important;
    transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
  }
  .nav-dropdown a:hover {
    background: rgba(15, 58, 46, 0.08) !important;
    color: var(--forest) !important;
    padding-left: 18px !important;
  }
  .dropdown-arrow { display: none; }
}

/* ========== IMAGE PLACEHOLDERS ========== */
.img-placeholder {
  background: linear-gradient(135deg, var(--sand-2) 0%, var(--rule) 100%);
  border: 2px dashed var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 32px 16px;
  width: 100%;
  height: 100%;
}
.img-placeholder svg {
  opacity: 0.35;
  color: var(--forest);
  width: 40px;
  height: 40px;
}
.img-placeholder span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.img-placeholder strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

/* ========== CAROUSEL / SLIDER ========== */
.carousel-section {
  padding: 80px 0;
  background: var(--sand);
  overflow: hidden;
}
@media (min-width: 960px) {
  .carousel-section { padding: 120px 0; }
}
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.7s var(--ease-2);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
}
.slide-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  background: var(--forest);
}
.slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bone);
  position: relative;
}
.slide-visual-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 50%, var(--ink) 100%);
}
.slide-visual-placeholder > * { position: relative; z-index: 1; }
.slide-placeholder-icon { opacity: 0.25; }
.slide-placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
}
.slide-placeholder-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  text-align: center;
  max-width: 16ch;
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px 28px;
  background: linear-gradient(transparent, rgba(11, 31, 26, 0.82));
}
.slide-caption-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  padding: 4px 10px;
  border: 1px solid rgba(233,180,76,0.5);
  border-radius: 100px;
  margin-bottom: 10px;
}
.slide-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.slide-caption p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.65);
}
.slide-caption a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ochre);
  transition: gap var(--t);
}
.slide-caption a:hover { gap: 14px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  transition: background var(--t), transform var(--t), width var(--t);
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.carousel-dot.active {
  background: var(--forest);
  width: 24px;
  border-radius: 100px;
}
.carousel-arrows {
  display: flex;
  gap: 10px;
}
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bone);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--clay);
  transform: scale(1.08);
}

/* ========== INNER PAGE HERO ========== */
.inner-hero {
  padding: calc(var(--nav-h) + 60px) var(--gutter) 80px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 60%, var(--ink) 100%);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,180,76,0.16), transparent 70%);
  pointer-events: none;
}
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,122,86,0.1), transparent 70%);
  pointer-events: none;
}
.inner-hero .eyebrow { color: var(--ochre); margin-bottom: 20px; }
.inner-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 22ch;
  position: relative;
}
.inner-hero-title em { font-style: italic; color: var(--ochre); }
.inner-hero-lede {
  margin-top: 20px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.75;
  color: rgba(245,241,232,0.78);
  max-width: 60ch;
  position: relative;
}

/* ========== SERVICES PAGE ========== */
.services-cards-section {
  padding: 80px 0;
  background: var(--sand);
}
@media (min-width: 960px) { .services-cards-section { padding: 120px 0; } }

.services-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .services-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-card-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.svc-page-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 34px 26px 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.svc-page-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(300px 200px at var(--mx, 50%) var(--my, 50%), rgba(233,180,76,0.1), transparent 60%);
  opacity: 0; transition: opacity var(--t);
  pointer-events: none;
}
.svc-page-card:hover::after { opacity: 1; }
.svc-page-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-page-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--clay);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.svc-page-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.svc-page-card-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}
.svc-page-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Featured service card */
.svc-page-card--featured {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bone);
  grid-column: 1 / -1;
}
@media (min-width: 960px) {
  .svc-page-card--featured { grid-column: span 2; }
}
.svc-page-card--featured .svc-page-card-num { color: var(--ochre); }
.svc-page-card--featured h3 { color: var(--bone); }
.svc-page-card--featured .svc-page-card-sub { color: rgba(233,180,76,0.8); }
.svc-page-card--featured p { color: rgba(245,241,232,0.75); }

/* FAQ / Accordion */
.faq-section {
  padding: 80px 0;
  background: var(--sand-2);
}
@media (min-width: 960px) { .faq-section { padding: 120px 0; } }
.faq-list {
  max-width: 860px;
  margin: 48px auto 0;
}
.faq-item {
  border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  transition: color var(--t);
}
.faq-question:hover { color: var(--clay); }
.faq-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
  color: var(--forest);
}
.faq-item.open .faq-chevron {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--bone);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-2);
}
.faq-answer-inner {
  padding-bottom: 22px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.72;
  max-width: 70ch;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ========== PROJECT DETAIL PAGE ========== */
.project-detail-hero {
  padding: calc(var(--nav-h) + 60px) var(--gutter) 70px;
  background: var(--forest);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.project-detail-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(233,180,76,0.12), transparent 60%),
    radial-gradient(400px 400px at 10% 80%, rgba(196,122,86,0.08), transparent 60%);
  pointer-events: none;
}
.project-detail-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .project-detail-hero .container {
    grid-template-columns: 1fr 360px;
    gap: 70px;
    align-items: center;
  }
}
.project-detail-eyebrow { color: var(--ochre); margin-bottom: 18px; }
.project-detail-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.project-detail-description {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(245,241,232,0.82);
  max-width: 56ch;
}
.project-meta-card {
  background: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.project-meta-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,241,232,0.1);
  display: grid;
  gap: 4px;
}
.project-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.project-meta-row:first-child { padding-top: 0; }
.project-meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre);
}
.project-meta-value {
  color: rgba(245,241,232,0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Gallery section */
.gallery-section {
  padding: 60px 0 100px;
  background: var(--sand);
}
@media (min-width: 960px) { .gallery-section { padding: 80px 0 120px; } }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .gallery-grid .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand-2);
  cursor: zoom-in;
}
.gallery-item .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Project prev/next nav */
.project-nav-strip {
  padding: 40px 0;
  background: var(--ink);
  color: var(--bone);
}
.project-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t);
  max-width: 300px;
}
.project-nav-link:hover { opacity: 0.72; }
.project-nav-dir {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-nav-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ========== PORTFOLIO / INTERIORS PAGE ========== */
.portfolio-page-content {
  padding: 80px 0;
  background: var(--sand);
}
@media (min-width: 960px) { .portfolio-page-content { padding: 100px 0; } }
.portfolio-intro {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}
.portfolio-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
  margin-top: 14px;
}
.portfolio-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) {
  .portfolio-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.portfolio-proj-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none;
  color: inherit;
  display: block;
}
.portfolio-proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.portfolio-proj-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.portfolio-proj-card-img .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
}
.portfolio-proj-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.portfolio-proj-card:hover .portfolio-proj-card-img img { transform: scale(1.06); }
.portfolio-proj-card-body {
  padding: 28px;
}
.portfolio-proj-card-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}
.portfolio-proj-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.portfolio-proj-card-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.62;
  margin-bottom: 18px;
}
.portfolio-proj-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  transition: gap var(--t), color var(--t);
}
.portfolio-proj-card:hover .portfolio-proj-card-arrow {
  gap: 14px;
  color: var(--clay);
}

/* ========== RESEARCH PAGE ========== */
.research-page-content {
  padding: 80px 0;
  background: var(--sand);
}
@media (min-width: 960px) { .research-page-content { padding: 100px 0; } }
.research-paper-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow var(--t);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .research-paper-card { grid-template-columns: 260px 1fr; }
}
.research-paper-card:hover { box-shadow: var(--shadow); }
.research-paper-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
@media (min-width: 760px) {
  .research-paper-img { aspect-ratio: unset; min-height: 220px; }
}
.research-paper-img .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  min-height: 180px;
}
.research-paper-body {
  padding: 32px 30px;
}
.research-paper-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  padding: 5px 12px;
  background: rgba(196,122,86,0.08);
  border-radius: 100px;
  margin-bottom: 16px;
}
.research-paper-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.research-paper-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.research-paper-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ========== TEAM PAGE ========== */
.team-page-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%);
  position: relative;
  overflow: hidden;
}
.team-page-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,180,76,0.12), transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
@media (min-width: 960px) { .team-page-section { padding: 100px 0; } }

.about-vivid {
  padding: 80px 0;
  background: var(--sand);
}
@media (min-width: 960px) { .about-vivid { padding: 100px 0; } }
.about-vivid-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .about-vivid-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.about-vivid-text .section-title { text-align: left; }
.about-vivid-text p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.about-vivid-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-vivid-img .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
  min-height: 280px;
}

/* Member portrait image override (for real photos) */
.member-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.member:hover .member-portrait img { transform: scale(1.06); }

/* ========== PROVIDENCE PARK PAGE ========== */
.pp-render-section {
  padding: 70px 0 80px;
  background: var(--sand);
}
@media (min-width: 960px) { .pp-render-section { padding: 100px 0; } }
.pp-render-main {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.pp-render-main .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
  min-height: 320px;
}

.pp-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .pp-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .pp-info-grid { grid-template-columns: repeat(4, 1fr); }
}
.pp-info-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform var(--t), box-shadow var(--t);
}
.pp-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pp-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.pp-info-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.pp-info-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pp-section {
  padding: 70px 0;
  background: var(--sand-2);
}
.pp-section:nth-child(odd) { background: var(--sand); }
.pp-section-head {
  margin-bottom: 36px;
}
.pp-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pp-section-head p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 60ch;
}

.pp-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .pp-plan-grid { grid-template-columns: repeat(2, 1fr); }
}
.pp-plan-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pp-plan-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.pp-plan-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pp-render-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pp-plan-card-img .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: unset;
  min-height: 200px;
}
.pp-plan-card-body {
  padding: 20px 22px;
  border-top: 1px solid var(--rule);
}
.pp-plan-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.pp-plan-specs {
  display: grid;
  gap: 6px;
}
.pp-plan-spec {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  font-size: 0.9rem;
}
.pp-plan-spec dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.pp-plan-spec dd { color: var(--text-muted); }

/* Contact form on inner pages */
.contact-section-inner {
  padding: 80px 0;
  background: var(--sand);
}
@media (min-width: 960px) { .contact-section-inner { padding: 100px 0; } }

/* Active nav highlight */
.nav-link.active-page {
  background: rgba(15, 58, 46, 0.08);
  color: var(--forest);
}

/* ========== PROJECT TIMELINE STEPS ========== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.step div {
  flex: 1;
  min-width: 0;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
