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

:root {
  --white:    #F0EFEC;
  --off-white:#E8E7E4;
  --charcoal: #1C1C1C;
  --mid:      #787878;
  --rule:     #E8E4DC;
  --gold:     #bc9c22;
  --gold-dim: rgba(188,156,34,0.12);

  --font-title:    'Bodoni Moda', Didot, 'Bodoni MT', Georgia, serif;
  --font-subtitle: 'Nunito Sans', Avenir, 'Century Gothic', sans-serif;
  --font-body:     'Open Sans', system-ui, sans-serif;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --max-w: 1200px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  background-color: #F0EFEC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.2; }

.section__eyebrow {
  font-family: var(--font-subtitle);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title { font-size: clamp(2rem, 4vw, 2.75rem); }

/* ─── GOLD DIVIDER ─────────────────────────────────────── */
.gold-rule {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}

/* ─── BUTTON ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1.5px solid var(--gold);
  font-family: var(--font-subtitle);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--gold); color: var(--white); }
.btn--full { width: 100%; text-align: center; }

/* ─── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;        /* children fill nav height */
  justify-content: space-between;
  height: 90px;                /* fixed banner height */
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), height var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--rule);
}

/* Logo image fills nav height */
.nav__logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.nav__logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.nav__links { display: flex; gap: 2.5rem; align-items: center; }
.nav__links a {
  font-family: var(--font-subtitle);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 90px;   /* matches nav height */
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 6% 6rem 5%;
}

.hero__eyebrow {
  font-family: var(--font-subtitle);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.hero__headline em { color: var(--gold); font-style: italic; }

.hero__sub {
  font-family: var(--font-subtitle);
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 2rem;
  max-width: 40ch;
  line-height: 1.9;
}

.hero__note {
  font-family: var(--font-subtitle);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mid);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* Hero image — full photo, no cropping */
.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ─── SECTION SHELL ────────────────────────────────────── */
.section {
  padding: var(--section-pad) 5%;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}
.section__header { margin-bottom: 3.5rem; }
.section__cta { text-align: center; margin-top: 3.5rem; }

/* ─── SERVICES ──────────────────────────────────────────── */
.services__intro {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: -0.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 5%;
}

.service__card { display: flex; flex-direction: column; gap: 1rem; }

.service__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service__card:hover .service__img img { transform: scale(1.04); }

.service__card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
}

.service__card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.75;
}

/* ─── PORTFOLIO ─────────────────────────────────────────── */
.portfolio { max-width: 100%; padding-inline: 5%; }
.portfolio .section__header,
.portfolio .portfolio__filters { max-width: var(--max-w); margin-inline: auto; }

.portfolio__filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-subtitle);
  padding: 0.4rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.card {
  background: var(--off-white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card.hidden { display: none; }
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(188,156,34,0.1);
}

.card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.card__img--1 { background: linear-gradient(135deg, #DDD4C4 0%, #C0B09C 100%); }
.card__img--2 { background: linear-gradient(135deg, #D4CCBC 0%, #B4A88C 100%); }
.card__img--3 { background: linear-gradient(135deg, #D8D0C0 0%, #B8A890 100%); }
.card__img--4 { background: linear-gradient(135deg, #D4CCC0 0%, #B4A890 100%); }
.card__img--5 { background: linear-gradient(135deg, #DCCCC0 0%, #BCA898 100%); }
.card__img--6 { background: linear-gradient(135deg, #D8D4C4 0%, #B8B094 100%); }
.card__img--7 { background: linear-gradient(135deg, #E0D8C8 0%, #C0B498 100%); }

/* Real photo inside card */
.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Project meta line */
.card__meta {
  font-family: var(--font-subtitle);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem !important;
  text-transform: uppercase;
}

.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(188,156,34,0.55) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover .card__overlay { opacity: 1; }
.card__overlay span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.card__body { padding: 1.5rem 1.5rem 1.75rem; }
.card__body h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.card__body p { font-size: 0.875rem; color: var(--mid); line-height: 1.65; }
.card__credit {
  font-family: var(--font-subtitle);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--mid);
  margin-top: 0.6rem !important;
  border-top: 1px solid var(--rule);
  padding-top: 0.5rem;
}

.card__tag {
  font-family: var(--font-subtitle);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem !important;
}

/* ─── ABOUT ─────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  background: var(--off-white);
  max-width: 100%;
  padding: var(--section-pad) 5%;
}

.about__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: contents;
}

.about__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-width: 340px;
}

.about__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #DDD0BC 0%, #B4A080 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  max-width: 480px;
}
.about__img-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.about__content .section__title { margin-bottom: 0; }
.about__content p { color: var(--mid); margin-bottom: 1.25rem; max-width: 48ch; }

.about__stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.5rem;
}

/* ─── CONTACT ───────────────────────────────────────────── */
.contact { max-width: var(--max-w); margin-inline: auto; }

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
  margin-top: 1rem;
}

.contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__item h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact__item p { font-size: 0.95rem; color: var(--mid); }

.contact__form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-subtitle);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form__success {
  display: none;
  font-size: 0.85rem;
  color: #5A8A5A;
  text-align: center;
  margin-top: -0.25rem;
}
.form__success.visible { display: block; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 3rem 5%;
  text-align: center;
}
.footer__logo-img {
  height: 90px;
  width: auto;
  margin: 0 auto 1rem;
  display: block;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.06em;
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero__content { padding: 4rem 6%; }
  .hero__image { height: 60vw; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }

  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about__img-placeholder { max-width: 100%; aspect-ratio: 16/9; }

  .contact__wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .contact__info { flex-direction: row; flex-wrap: wrap; }
  .contact__item { flex: 1 1 180px; }
}

@media (max-width: 600px) {
  .nav__links { display: none; flex-direction: column; gap: 1.5rem; }
  .nav__links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
  }
  .nav__links.open a { color: var(--charcoal); font-size: 1.1rem; }
  .nav__toggle { display: flex; }

  .portfolio__grid { grid-template-columns: 1fr; }
  .about__stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ─── LIGHTBOX ─────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

.card__img { cursor: zoom-in; }
