@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400&display=swap');

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

:root {
  --white: #ffffff;
  --black: #111111;
  --grey: #888888;
  --light: #e8e8e8;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--black);
  transition: color 0.2s;
  text-transform: lowercase;
}

.nav-links a:hover { color: var(--grey); }

/* Portfolio dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--light);
  min-width: 180px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  padding-top: 20px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.dropdown-menu a:hover { color: var(--grey); }

/* ── HOMEPAGE HERO ── */

/* ── HOMEPAGE HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 100px 48px 64px;
  gap: 48px;
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.hero-photos img {
  width: 100%;
  height: 75vh;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--white);
}

.hero-photos img:last-child {
  object-position: left center;
}

.hero-text {
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
}

.hero-text h1 em {
  font-style: italic;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 90px 24px 48px;
    gap: 32px;
  }

  .hero-photos img { height: 45vw; }

  .hero-text { justify-content: flex-start; }
}

/* ── HOME SCROLL SECTION ── */
.home-scroll {
  padding: 80px 48px 160px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  row-gap: 64px;
  align-items: start;
}

.home-scroll img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: var(--white);
}

.home-scroll img:nth-child(3),
.home-scroll img:nth-child(4) {
  object-position: right center;
}

@media (max-width: 768px) {
  .home-scroll { padding: 48px 24px 72px; gap: 32px; }
}

/* ── PAGE HEADER (interior pages) ── */
.page-header {
  padding: 140px 48px 48px;
  border-bottom: 1px solid var(--light);
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.page-header p {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.08em;
}

/* ── GALLERY GRID ── */
.gallery {
  padding: 56px 48px 96px;
  columns: 2;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

.gallery-item:hover img { opacity: 0.88; }

.gallery-item figcaption {
  font-size: 0.68rem;
  color: var(--grey);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 40px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--black);
  background: none;
  border: none;
  font-family: var(--sans);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--black);
  cursor: pointer;
  padding: 16px;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-top: 0;
}

.about-photo {
  height: calc(100vh - 110px);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  line-height: 1.25;
}

.about-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
  max-width: 52ch;
  margin-bottom: 20px;
}

/* ── CONTACT ── */
.contact-wrap {
  padding: 140px 48px 96px;
  max-width: 600px;
}

.contact-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.contact-wrap p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  max-width: 52ch;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--light);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  background: none;
  outline: none;
  color: var(--black);
  transition: border-color 0.2s;
  letter-spacing: 0.04em;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--black); }

.contact-form textarea { resize: none; height: 100px; }

.contact-form button {
  align-self: flex-start;
  background: none;
  border: 1px solid var(--black);
  padding: 11px 32px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-form button:hover {
  background: var(--black);
  color: var(--white);
}

/* ── MOBILE ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  nav { padding: 22px 24px; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--light);
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }

  .dropdown-menu {
    position: static;
    transform: none;
    border: none;
    padding: 8px 0 0 16px;
    opacity: 1;
    pointer-events: all;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu { display: block; }

.page-header { padding: 110px 24px 36px; }

  .gallery {
    columns: 1;
    padding: 40px 24px 72px;
  }

  .about-grid { grid-template-columns: 1fr; }

  .about-photo { height: 60vw; }

  .about-text { padding: 48px 24px; }

  .contact-wrap { padding: 110px 24px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
