/* ===== CUSTOM PROPERTIES ===== */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-light: #9A3D4E;
  --blush: #F5E6D8;
  --blush-light: #FBF4EE;
  --blush-dark: #E8D0BC;
  --cream: #FDF8F4;
  --charcoal: #1A1416;
  --charcoal-light: #2D2428;
  --text-dark: #1A1416;
  --text-mid: #4A3F42;
  --text-light: #7A6E71;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(26, 20, 22, 0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--burgundy);
}
.logo--light { color: var(--blush); }
.logo-icon { color: var(--burgundy); }
.logo--light .logo-icon { color: var(--blush); }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: var(--space-xl); }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--burgundy); }
.main-nav a:not(.btn):hover::after { width: 100%; }

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-overlay.active { opacity: 1; visibility: visible; }
.nav-overlay-inner ul { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.nav-overlay-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition);
}
.nav-overlay-link:hover { color: var(--burgundy); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-small { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-burgundy:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123, 45, 59, 0.3); }
.btn-blush {
  background: var(--blush);
  color: var(--burgundy);
  border-color: var(--blush);
}
.btn-blush:hover { background: var(--blush-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245, 230, 216, 0.5); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-outline-burgundy {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline-burgundy:hover { background: var(--burgundy); color: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 20, 22, 0.82) 0%,
    rgba(123, 45, 59, 0.65) 50%,
    rgba(26, 20, 22, 0.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: var(--space-4xl) var(--space-lg);
  padding-top: calc(72px + var(--space-xl));
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: var(--space-md);
}
.hero-headline {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 800;
  line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(245, 230, 216, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-3xl);
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}
.hero-stat { text-align: center; }
.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(245, 230, 216, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245, 230, 216, 0.25);
}
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(245, 230, 216, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: var(--space-3xl); }
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}
.section-eyebrow--light { color: var(--blush); }
.section-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.section-headline--light { color: var(--white); }
.section-sub { font-size: 1.1rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }
.section-sub--light { color: rgba(245, 230, 216, 0.7); }

/* ===== SERVICES ===== */
.services {
  padding: var(--space-4xl) 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 20, 22, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26, 20, 22, 0.1); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: var(--space-lg); }
.service-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
  opacity: 0.5;
  display: block;
  margin-bottom: var(--space-xs);
}
.service-title {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}
.service-desc { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }

/* ===== ABOUT ===== */
.about {
  padding: var(--space-4xl) 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--burgundy);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}
.about-eyebrow { margin-bottom: var(--space-sm); }
.about-headline {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}
.about-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.about-value-icon { color: var(--burgundy); flex-shrink: 0; margin-top: 2px; }
.about-value strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.about-value span { font-size: 0.9rem; color: var(--text-light); }

/* ===== WORK ===== */
.work {
  padding: var(--space-4xl) 0;
  background: var(--charcoal);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-md);
}
.work-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.work-item:hover img { transform: scale(1.05); }
.work-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 45, 59, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition);
}
.work-item:hover .work-item-overlay { opacity: 1; }
.work-item-overlay span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.work-item--large { grid-column: span 7; }
.work-item:not(.work-item--large) { grid-column: span 5; }
.work-item:nth-child(1) { grid-row: 1; }
.work-item:nth-child(2) { grid-row: 1; }
.work-item:nth-child(3) { grid-row: 2; }
.work-item:nth-child(4) { grid-row: 2; }
.work-item:nth-child(5) { grid-column: span 12; grid-row: 3; }
.work-item:nth-child(5) img { height: 350px; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--blush-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.testimonial-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(26, 20, 22, 0.05);
  position: relative;
}
.testimonial-quote {
  color: var(--burgundy);
  opacity: 0.2;
  margin-bottom: var(--space-md);
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: var(--burgundy);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(245, 230, 216, 0.05);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(245, 230, 216, 0.04);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: var(--space-sm);
}
.cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}
.cta-text {
  font-size: 1.1rem;
  color: rgba(245, 230, 216, 0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* ===== CONTACT ===== */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}
.contact-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.contact-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.contact-detail { display: flex; align-items: flex-start; gap: var(--space-md); }
.contact-detail-icon { color: var(--burgundy); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-detail span, .contact-detail a {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--burgundy); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(26, 20, 22, 0.06);
}
.contact-form-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--blush-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: var(--space-sm);
}
.form-success {
  text-align: center;
  padding: var(--space-xl);
}
.form-success h4 {
  font-size: 1.5rem;
  color: var(--burgundy);
  margin: var(--space-md) 0 var(--space-sm);
}
.form-success p { color: var(--text-mid); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--blush);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer-brand p { font-size: 0.9rem; color: rgba(245, 230, 216, 0.6); margin-top: var(--space-sm); line-height: 1.7; }
.footer-links strong, .footer-contact strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blush);
  margin-bottom: var(--space-md);
}
.footer-links ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a { font-size: 0.9rem; color: rgba(245, 230, 216, 0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--blush); }
.footer-contact p { font-size: 0.9rem; color: rgba(245, 230, 216, 0.6); line-height: 1.8; }
.footer-contact a { color: rgba(245, 230, 216, 0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--blush); }
.footer-bottom {
  border-top: 1px solid rgba(245, 230, 216, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p { font-size: 0.8rem; color: rgba(245, 230, 216, 0.4); }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-item--large { grid-column: span 6; }
  .work-item:not(.work-item--large) { grid-column: span 6; }
  .work-item:nth-child(5) { grid-column: span 12; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .hero-stats { flex-direction: column; gap: var(--space-md); }
  .hero-stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-image-wrap img { height: 350px; }
  .about-image-accent { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .work-grid { display: flex; flex-direction: column; gap: var(--space-md); }
  .work-item, .work-item--large { grid-column: span 1; }
  .work-item img, .work-item--large img { height: 250px; }
  .work-item:nth-child(5) img { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
