:root {
  --black: #111111;
  --white: #ffffff;
  --cream: #f4f2ee;
  --grey: #8a8580;
  --line: rgba(17, 17, 17, 0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
}

img { display: block; max-width: 100%; height: auto; border: 0; -ms-interpolation-mode: bicubic; }

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

button {
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: rgba(244,242,238,0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(244,242,238,0.97); }
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  padding: 16px 40px;
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--serif);
  color: var(--black);
  line-height: 1;
}
.logo-petite {
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: var(--grey);
}
.logo-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}
.nav-links a { position: relative; padding-bottom: 6px; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 168px 0 100px;
  background: var(--cream);
  color: var(--black);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-portrait {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(17,17,17,0.25);
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--grey);
  font-weight: 500;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--black);
}
.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  max-width: 460px;
  color: #4a4a4a;
  margin-bottom: 36px;
  font-weight: 300;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--grey);
  margin-top: 32px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--black);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(102%);
  transition: transform 0.38s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: transform 0.35s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary::before { background: var(--white); }
.btn-primary:hover { color: var(--black); }

.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost::before { background: var(--black); }
.btn-ghost:hover { color: var(--white); }

/* Contact section sits on dark bg: invert button colors */
.contact .btn { border-color: var(--white); }
.contact .btn-primary { background: var(--white); color: var(--black); }
.contact .btn-primary::before { background: var(--black); }
.contact .btn-primary:hover { color: var(--white); }
.contact .btn-ghost { color: var(--white); }
.contact .btn-ghost::before { background: var(--white); }
.contact .btn-ghost:hover { color: var(--black); }

/* ===== Stats strip ===== */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 26px 0;
}
.stats-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 36px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stats-list li { display: flex; gap: 6px; opacity: 0.9; }
.stats-list b { font-weight: 600; }
.stats-note {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  opacity: 0.55;
  margin-top: 10px;
  text-transform: none;
}

/* ===== Section shared ===== */
section { position: relative; }
#about, #portfolio, #faq, #contact { scroll-margin-top: 88px; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
  display: block;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
}
.section-head p {
  margin-top: 16px;
  color: #4a4a4a;
  line-height: 1.7;
  font-size: 15px;
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; overflow: hidden; }
.about-media img { width: 100%; height: 640px; object-fit: cover; transition: transform 0.6s ease; }
.about-media:hover img { transform: scale(1.04); }
.about-text .section-tag { margin-bottom: 18px; }
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 22px;
}
.about-text p {
  color: #3d3d3d;
  line-height: 1.8;
  font-size: 15.5px;
  margin-bottom: 18px;
  font-weight: 300;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.fact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}
.fact-value { font-size: 15px; font-weight: 500; }
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: #1c6b3f;
}
.avail-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1c6b3f;
  box-shadow: 0 0 0 3px rgba(28,107,63,0.18);
}

/* ===== Portfolio ===== */
.portfolio { padding: 120px 0 100px; }

.city-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.city-btn {
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--sans);
  font-weight: 500;
}
.city-btn:hover { border-color: var(--black); }
.city-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }

.city-block { margin-bottom: 100px; }
.city-block:last-child { margin-bottom: 0; }
.city-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  flex-wrap: wrap;
}
.city-heading h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}
.city-heading .city-index {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.08em;
}
.city-heading .city-desc {
  flex-basis: 100%;
  font-size: 14px;
  color: #555;
  font-weight: 300;
  margin-top: -4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}
.grid-item.tall { grid-row: span 2; }
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}
.grid-item.tall img { aspect-ratio: 3/6.35; }
.grid-item:hover img { transform: scale(1.06); }
.grid-item .zoom-icon {
  position: absolute;
  right: 14px; top: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.grid-item:hover .zoom-icon { opacity: 1; transform: translateY(0); }
.zoom-icon svg { width: 14px; height: 14px; }

/* ===== FAQ ===== */
.faq {
  padding: 110px 0;
  background: var(--cream);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item dt {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.faq-item dd {
  color: #3d3d3d;
  line-height: 1.75;
  font-size: 15px;
  font-weight: 300;
}

/* ===== Contact ===== */
.contact {
  background: var(--black);
  color: var(--white);
  padding: 130px 0 90px;
  text-align: center;
}
.contact .section-tag { color: rgba(255,255,255,0.55); }
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto 26px;
  line-height: 1.15;
}
.contact p.lead {
  max-width: 520px;
  margin: 0 auto 42px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: 15.5px;
  font-weight: 300;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}
.contact-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 34px;
}
.contact-meta b { color: var(--white); font-weight: 500; }

.site-footer {
  padding: 26px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.lightbox-close { top: 28px; right: 34px; font-size: 28px; }
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  padding: 10px 16px;
  opacity: 0.75;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 140px 0 70px; }
  .hero-content { max-width: 100%; }
  .hero-portrait { order: -1; max-width: 380px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 440px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-header { padding: 18px 20px; position: fixed; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    max-height: 320px;
    padding: 8px 20px 16px;
    box-shadow: 0 1px 0 var(--line);
  }
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 60px; }
  .about { padding: 80px 0; }
  .portfolio { padding: 80px 0 70px; }
  .faq { padding: 80px 0; }
  .faq-item dt { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grid-item.tall { grid-row: span 1; }
  .grid-item.tall img { aspect-ratio: 3/4; }
  .stats-list { gap: 8px 22px; font-size: 11px; }
  .contact { padding: 90px 0 60px; }
  .contact-meta { gap: 24px; }
  .about-facts { grid-template-columns: 1fr 1fr; }
}
