*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0d0d0d;
  --white:    #ffffff;
  --green:    #2d4a30;
  --green-lt: #3a5a40;
  --sand:     #f5f3ef;
  --gray:     #6b6b6b;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --nav-h: 60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.01em;
}
.logo__sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.header__cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 20px;
  border: 1.5px solid var(--black);
  border-radius: 50px;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}
.header__cta:hover {
  background: var(--black);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 100px;
}
.hero__content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.hero__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 3;
}
.hero__progress-bar {
  height: 100%;
  background: rgba(255,255,255,0.85);
  width: 0%;
  transition: width linear;
}

/* ── WORK ── */
.work {
  background: var(--sand);
  padding: 80px 24px;
  text-align: center;
}
.work h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--black);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.work__item {
  background-size: cover;
  background-position: center;
  background-color: #c8d5c0;
  border-radius: 4px;
  transition: transform 0.3s, filter 0.3s;
  cursor: pointer;
  overflow: hidden;
}
.work__item:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
  z-index: 1;
  position: relative;
}

/* ── CONTACT ── */
.contact {
  background: var(--black);
  color: var(--white);
  padding: 96px 24px;
  text-align: center;
}
.contact__inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
}
.contact__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.contact > .contact__inner > p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s, opacity 0.2s;
}
.contact__btn:hover { transform: translateY(-2px); opacity: 0.9; }
.contact__btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact__btn--email {
  background: var(--white);
  color: var(--black);
}
.contact__btn--fb {
  background: #1877F2;
  color: var(--white);
}

/* ── BEFORE & AFTER ── */
.beforeafter {
  background: #f9f8f6;
  padding: 80px 24px;
  text-align: center;
}
.beforeafter__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ba__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #588157;
  margin-bottom: 10px;
}
.beforeafter h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.beforeafter > .beforeafter__inner > p {
  color: #6b6b6b;
  font-size: 0.95rem;
  margin-bottom: 48px;
}
.ba__pairs {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.ba__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ba__side {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ba__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ba__pair:hover .ba__side img { transform: scale(1.03); }
.ba__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ba__label--after { background: rgba(45,74,48,0.75); }

@media (max-width: 600px) {
  .ba__pair { grid-template-columns: 1fr; }
  .ba__side { aspect-ratio: 3/2; }
}

/* ── FOOTER ── */
.footer {
  background: #0a0a0a;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .work__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 600px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .logo__name { font-size: 1rem; }
}
