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

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

body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  background-color: #FAFAF8;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Typography ========== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ========== Header / Nav ========== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #FAFAF8;
  border-bottom: 1px solid #e5e2de;
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.nav-cta {
  background: #9C8265;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background 0.3s ease;
}

.nav-cta:hover {
  background: #7d6750;
  text-decoration: none !important;
  color: #fff !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #9C8265;
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* ========== Hero ========== */
.hero {
  min-height: calc(100vh - 80px);
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: #f3f1ee;
  border-bottom: 1px solid #e5e2de;
}

.hero-content {
  max-width: 800px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.3;
}

.hero h1 em {
  font-weight: 500;
  color: #9C8265;
}

.hero-sub {
  font-size: 1rem;
  color: #777;
  max-width: 560px;
  margin: 2rem auto 0;
  line-height: 1.75;
}

/* ========== Section utilities ========== */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 1rem;
}

/* ========== Work Quote ========== */
.work-quote {
  background: #f3f1ee;
  padding: 8rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e5e2de;
}

.work-quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

.work-quote-heading {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #1a1a1a;
  line-height: 1.3;
}

.work-quote-heading em {
  font-weight: 500;
  color: #9C8265;
}

.work-quote-attr {
  font-size: 0.85rem;
  color: #999;
  margin-top: 2rem;
}

/* ========== Work Showcase ========== */
.work-showcase {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  overflow: hidden;
  background: #111;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.showcase-bg--active {
  opacity: 1;
}

.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.showcase-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 4rem;
  color: #fff;
}

.showcase-left {
  flex-shrink: 0;
}

.showcase-prompt {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.showcase-cta {
  display: inline-block;
  background: none;
  border: 1px solid #9C8265;
  color: #9C8265;
  padding: 0.7rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-cta:hover {
  background: #9C8265;
  color: #fff;
}

.showcase-cta--mobile {
  display: none;
  margin-top: 1.5rem;
}

.showcase-middle {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.showcase-line {
  width: 70px;
  height: 2px;
  background: #9C8265;
  flex-shrink: 0;
}

.showcase-nav {
  display: flex;
  flex-direction: column;
}

.showcase-nav-item {
  padding: 0.6rem 0;
  cursor: pointer;
}

.showcase-nav-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.5s ease;
  user-select: none;
  white-space: nowrap;
}

.showcase-nav-item--active .showcase-nav-title {
  color: #DBBE8A;
}

.showcase-nav-item:hover .showcase-nav-title {
  color: rgba(255, 255, 255, 0.55);
}

.showcase-nav-item--active:hover .showcase-nav-title {
  color: #DBBE8A;
}

.showcase-right {
  flex-shrink: 0;
}

/* ========== Work Gallery ========== */
.work-gallery {
  background: #FAFAF8;
  padding: 4rem 0;
}

.gallery-strip {
  display: flex;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 auto;
  width: 240px;
  height: 168px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid #e5e2de;
  transition: border-color 0.3s ease;
}

.gallery-item:hover {
  border-color: #9C8265;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
}

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

/* ========== About Section ========== */
.about {
  background: #f3f1ee;
  border-top: 1px solid #e5e2de;
}

.about-top {
  padding: 6rem 4rem 2rem;
  text-align: center;
}

.about-top-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.about-heading em {
  color: #9C8265;
}

/* Person card — leadership style */
.about-people {
  display: flex;
  justify-content: center;
  padding: 2.5rem 4rem 4rem;
}

.about-person {
  position: relative;
  width: 380px;
  height: 520px;
  overflow: hidden;
  background: #e5e2de;
}

.about-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-person-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(40, 36, 30, 0.75) 0%, transparent 100%);
  pointer-events: none;
}

.about-person-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 2rem 1.5rem;
}

.about-person-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
}

.about-person-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* About body — two columns */
.about-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 4rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  border-top: 1px solid #d9d5cf;
}

.about-bio p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-detail-group {
  padding: 1.75rem 0;
  border-bottom: 1px solid #d9d5cf;
}

.about-detail-group:first-child {
  padding-top: 0;
}

.about-detail-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-detail-group h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9C8265;
  margin-bottom: 0.75rem;
}

.about-detail-group p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.8;
}

/* ========== Skills ========== */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.35rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  color: #777;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  border-color: #9C8265;
  color: #9C8265;
}

/* ========== Footer ========== */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 5rem 4rem 2.5rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-cta {
  margin-bottom: 4rem;
}

.footer-cta-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: #fff;
  transition: color 0.3s ease;
}

.footer-cta-link em {
  color: #DBBE8A;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-cta-link:hover {
  color: #DBBE8A;
}

.footer-cta-sub {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-info {
  display: flex;
  gap: 6rem;
  margin-bottom: 4rem;
}

.footer-col-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eee;
  margin-bottom: 0.35rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: #777;
}

.footer-col a {
  color: #DBBE8A;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: #DBBE8A;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.7rem;
  color: #555;
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ========== Section ========== */
.section {
  padding: 6rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.95rem;
  color: #777;
  max-width: 600px;
  line-height: 1.75;
}

/* ========== Project Blocks ========== */
.project-block {
  margin-bottom: 3rem;
}

.project-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #9C8265;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e2de;
}

/* ========== Portfolio Grid ========== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e5e2de;
  aspect-ratio: 4/3;
  transition: border-color 0.3s ease;
}

.portfolio-item:hover {
  border-color: #9C8265;
}

.portfolio-item.featured {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-overlay span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}

/* ========== Placeholder Card ========== */
.placeholder-card {
  border: 2px dashed #d9d5cf;
  padding: 3rem 2rem;
  text-align: center;
  color: #bbb;
  font-size: 0.9rem;
  font-style: italic;
}

/* ========== Video Container ========== */
.video-container {
  max-width: 800px;
}

.video-container video {
  width: 100%;
  border: 1px solid #e5e2de;
  background: #000;
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .nav {
    padding: 0 2rem;
  }

  .work-quote {
    padding: 5rem 2rem;
  }

  .showcase-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 2rem;
    gap: 2.5rem;
  }

  .showcase-right {
    display: none;
  }

  .showcase-cta--mobile {
    display: inline-block;
  }

  .showcase-middle {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-line {
    width: 50px;
  }

  .gallery-strip {
    padding: 0 2rem;
  }

  .about-top {
    padding: 4rem 2rem 2rem;
  }

  .about-people {
    padding: 2rem 2rem 3rem;
  }

  .about-person {
    width: 100%;
    max-width: 380px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 2rem;
  }

  .footer {
    padding: 3.5rem 2rem 2rem;
  }

  .footer-info {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 80px;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-links.open a {
    font-size: 1.1rem;
    color: #1a1a1a;
  }

  .hero {
    max-height: none;
    min-height: auto;
    padding: 5rem 1.5rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .work-quote {
    padding: 4rem 1.5rem;
  }

  .showcase-content {
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .showcase-nav-title {
    font-size: 1.3rem;
  }

  .work-showcase {
    max-height: 600px;
  }

  .gallery-strip {
    padding: 0 1.5rem;
  }

  .gallery-item {
    width: 200px;
    height: 140px;
  }

  .about-person {
    height: 440px;
  }

  .footer {
    padding: 3rem 1.5rem 2rem;
  }
}
