:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #8a8a8a;
  --line: #ececec;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--ink);
}

.site-header nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 11vw, 8rem);
  line-height: 1;
}

.hero p {
  margin: 1.8rem auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
}

/* Gallery */
.gallery {
  padding: 2rem 2.5rem 5rem;
}

/* Masonry layout — each photo keeps its own natural proportions. */
.grid {
  column-count: 3;
  column-gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .grid { column-count: 2; }
}

.grid figure {
  margin: 0 0 1.25rem;
  break-inside: avoid;
}

.grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: linear-gradient(135deg, #f3f3f3, #e6e6e6);
  transition: opacity 0.4s ease;
}

.grid img:hover { opacity: 0.92; }

/* About */
.about {
  padding: 6rem 2rem;
  border-top: 1px solid var(--line);
}

.about-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.about h2,
.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.about p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Contact */
.contact {
  padding: 6rem 2rem 7rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact p { color: var(--muted); margin-bottom: 1.2rem; }

.email {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s;
}

.email:hover { border-color: var(--ink); }

/* Footer */
.site-footer {
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .site-header { padding: 1.1rem 1.3rem; }
  .site-header nav a { margin-left: 1.2rem; }
  .gallery { padding: 1rem 1.3rem 3rem; }
  .grid { column-count: 1; }
}
