@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400;700&display=swap');

:root {
  --white: #ffffff;
  --ink: #000000;
  --taupe: #6b5d4f;
  --btn: #9f9483;
  --cream: #fbf8f2;
  --line: #e2ddd3;
}

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

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Sen', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wordmark {
  font-family: 'Sen', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

.label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--taupe);
}

/* ---------- Header ---------- */

header.site {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
  background: var(--white);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 20px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

nav.overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
nav.overlay.open { opacity: 1; pointer-events: all; }

nav.overlay ul { list-style: none; text-align: center; }
nav.overlay li { margin: 22px 0; }
nav.overlay a {
  font-family: 'Sen', sans-serif;
  font-size: 1.9rem;
  color: var(--ink);
}

.nav-close {
  position: absolute;
  top: 32px; right: 5vw;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero photo (About / Pricing / Contact) ---------- */

.page-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
}
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-photo .overlay-title {
  position: absolute;
  left: 5vw;
  bottom: 40px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ---------- Sections ---------- */

section { padding: 70px 6vw; }

h1, h2, h3 { font-weight: 400; }

.center { text-align: center; max-width: 760px; margin: 0 auto; }

/* ---------- Portfolio grid (uniform aspect, Home & Portfolio) ---------- */

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 6vw;
}
.masonry figure { overflow: hidden; position: relative; aspect-ratio: 2 / 3; }
.masonry figure a { display: block; width: 100%; height: 100%; }
.masonry img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .masonry { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */

.about-intro { max-width: 1080px; margin: 0 auto 60px; font-size: 1.05rem; }

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1180px;
  margin: 0 auto 70px;
}
.about-columns .label { display: block; font-size: 0.95rem; margin-bottom: 20px; }
.about-columns p { color: var(--ink); }

.about-cta { text-align: center; }
.about-cta .label { display: block; margin-bottom: 26px; font-size: 0.95rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 18px 40px;
  background: var(--btn);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: 'Sen', sans-serif;
}

/* ---------- Pricing ---------- */

.pricing-block { max-width: 1080px; margin: 0 auto 70px; }
.pricing-block h2 { font-size: 2rem; color: var(--taupe); margin-bottom: 26px; }
.pricing-block p { margin-bottom: 6px; }
.pricing-block .price { font-weight: 700; margin-top: 20px; }

.pricing-block.centered { text-align: center; }
.pricing-block.centered .price { text-align: right; }

.pricing-block.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.pricing-block.split .col-left { text-align: left; }
.pricing-block.split .col-right { text-align: left; }

@media (max-width: 760px) {
  .pricing-block.split { grid-template-columns: 1fr; }
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 60px;
}
.strip figure { aspect-ratio: 1 / 1; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 700px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contact ---------- */

.contact-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.contact-intro h1 { font-size: 1.6rem; margin-bottom: 18px; }

.contact-card {
  background: var(--cream);
  max-width: 940px;
  margin: 0 auto;
  padding: 60px;
}
.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 16px;
  font-family: 'Sen', sans-serif;
  font-size: 1rem;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-card .btn { display: block; margin: 30px auto 0; }

@media (max-width: 700px) {
  .contact-card { padding: 30px; }
}

/* ---------- Footer ---------- */

footer.site {
  padding: 40px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-height: 88vh; max-width: 88vw; }
.lightbox .close {
  position: absolute;
  top: 30px; right: 5vw;
  color: #fff;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}
