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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #2c2c2c;
  background-color: #faf9f7;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: #666;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ================================
   LAYOUT
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.bg-light {
  background-color: #f3f1ee;
}

.center-btn {
  text-align: center;
  margin-top: 3rem;
}

/* ================================
   BUTTONS
================================ */
.btn-primary {
  display: inline-block;
  background-color: #1a1a1a;
  color: #faf9f7;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 2px solid #1a1a1a;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: #1a1a1a;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #1a1a1a;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 2px solid #1a1a1a;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #faf9f7;
}

.link-arrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.link-arrow:hover {
  opacity: 0.6;
}

/* ================================
   HEADER
================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #faf9f7;
  border-bottom: 1px solid #e8e5e0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

header nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

header nav ul li a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #444;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

header nav ul li a:hover {
  color: #1a1a1a;
}

.nav-cta {
  background-color: #1a1a1a;
  color: #faf9f7 !important;
  padding: 0.6rem 1.25rem;
  transition: opacity 0.2s ease !important;
}

.nav-cta:hover {
  opacity: 0.75;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1a1a1a;
}

/* ================================
   HERO
================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: #faf9f7;
  padding: 6rem 0;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #555;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================
   PAGE HERO
================================ */
.page-hero {
  padding: 6rem 0 4rem;
  background-color: #faf9f7;
  border-bottom: 1px solid #e8e5e0;
}

.page-hero h1 {
  max-width: 700px;
}

.page-hero .hero-sub {
  font-size: 1.05rem;
  color: #666;
  max-width: 580px;
  margin-top: 1rem;
}

/* ================================
   INTRO
================================ */
.intro .container {
  max-width: 720px;
}

.intro h2 {
  margin-bottom: 1.25rem;
}

/* ================================
   SERVICES PREVIEW
================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #faf9f7;
  padding: 2.5rem 2rem;
  border: 1px solid #e8e5e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

/* ================================
   WORK GRID
================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.work-card {
  cursor: pointer;
}

.work-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #e8e5e0;
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.04);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.overlay-title {
  color: #faf9f7;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.overlay-tag {
  color: #ccc;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card-info {
  padding: 1.25rem 0;
}

.work-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}

.work-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  border: 1px solid #ccc;
  padding: 0.25rem 0.75rem;
}

/* ================================
   FILTER BUTTONS
================================ */
.filter-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: none;
  border: 1px solid #ccc;
  padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #1a1a1a;
  color: #faf9f7;
  border-color: #1a1a1a;
}

.work-card.hidden {
  display: none;
}

/* ================================
   SERVICE DETAIL
================================ */
.service-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.service-detail-grid {
  max-width: 760px;
}

.service-detail-text h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #888;
}

/* ================================
   STYLED LIST
================================ */
.styled-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.styled-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid #e8e5e0;
}

.styled-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #aaa;
}

/* ================================
   PROCESS GRID
================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  padding: 2rem;
  border-top: 2px solid #1a1a1a;
}

.process-number {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

/* ================================
   ABOUT PAGE
================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ================================
   CONTACT PAGE
================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-wrap h2 {
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d0cdc8;
  background-color: #faf9f7;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2c2c2c;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}

.contact-detail {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e8e5e0;
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.4rem;
}

.contact-detail a {
  font-size: 0.95rem;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.contact-detail a:hover {
  opacity: 0.6;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 0.9rem;
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.6;
}

.contact-note {
  background-color: #f3f1ee;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-note p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* ================================
   CTA BAND
================================ */
.cta-band {
  background-color: #1a1a1a;
  text-align: center;
}

.cta-band h2 {
  color: #faf9f7;
  margin-bottom: 1rem;
}

.cta-band p {
  color: #aaa;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-band .btn-primary {
  background-color: #faf9f7;
  color: #1a1a1a;
  border-color: #faf9f7;
}

.cta-band .btn-primary:hover {
  background-color: transparent;
  color: #faf9f7;
}

/* ================================
   FOOTER
================================ */
footer {
  background-color: #faf9f7;
  border-top: 1px solid #e8e5e0;
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.75rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.footer-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #1a1a1a;
}

.footer-copy {
  font-size: 0.8rem;
  color: #bbb;
  margin: 0;
}

/* ================================
   MOBILE NAV
================================ */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #faf9f7;
    border-bottom: 1px solid #e8e5e0;
    padding: 1.5rem 2rem;
    z-index: 99;
  }

  header nav.open {
    display: block;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav-cta {
    padding: 0.6rem 1.25rem;
  }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image img {
    aspect-ratio: 4/3;
    max-height: 400px;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .section-padding {
    padding: 4rem 0;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .footer-nav {
    gap: 1.25rem;
  }
}

/* ================================
   FADE-IN ANIMATION
================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ================================
   FORM MESSAGE
================================ */
.form-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  border-left: 3px solid;
}
.form-message--success {
  background-color: #f0faf0;
  border-color: #4caf50;
  color: #2e7d32;
}

.form-message--error {
  background-color: #fff3f3;
  border-color: #e53935;
  color: #c62828;
}
/* ================================
   LIGHTBOX
================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 1.25rem;
  text-align: center;
}

.lightbox-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #faf9f7;
  margin-bottom: 0.25rem;
}

.lightbox-caption-tag {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

.lightbox-close {
  position: fixed;  /* ✅ changed from absolute to fixed */
  top: 1.5rem;      /* ✅ sits in top-right corner of screen */
  right: 1.5rem;
  background: none;
  border: none;
  color: #faf9f7;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1002;    /* ✅ above everything */
  transition: opacity 0.2s ease;
}

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

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #faf9f7;
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 1001;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: -2.5rem;
    font-size: 1.5rem;
  }
}
/* ================================
   FORM SUCCESS / ERROR MESSAGES
================================ */
.form-success,
.form-error {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-success {
  background-color: #f0faf4;
  border: 1px solid #a8d5b5;
  color: #2d6a4f;
}

.form-error {
  background-color: #fdf3f3;
  border: 1px solid #e8b4b4;
  color: #7b2d2d;
}

/* hCaptcha spacing */
.h-captcha {
  margin-bottom: 1rem;
}