:root {
  --bg: #111212;
  --bg-soft: #181a1b;
  --text: #e8e8e2;
  --muted: #a9ada9;
  --line: #2b2f2f;
  --accent: #d4c9aa;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 0%, #1b1d1e 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  z-index: 1;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  width: min(100% - 2rem, var(--max));
  margin: 1.4rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: rgba(17, 18, 18, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(100% - 2rem, var(--max));
  margin: 1rem auto 0;
}

.hero {
  min-height: 72vh;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background-image: url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 9, 9, 0.85),
    rgba(8, 9, 9, 0.26) 55%,
    rgba(8, 9, 9, 0.38)
  );
  z-index: -1;
}

.hero-content {
  max-width: 42rem;
  animation: rise 0.9s ease forwards;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.hero p {
  margin: 1rem 0 0;
  color: #f3f3ef;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #131414;
  background: var(--accent);
  font-weight: 700;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid #6b706f;
  background: rgba(15, 15, 15, 0.45);
}

.section {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24, 26, 27, 0.9), rgba(18, 20, 20, 0.92));
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.about p,
.contact p,
.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.gallery-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #111;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.photo-card figcaption {
  padding: 0.65rem 0.8rem;
  color: #c4c7c4;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 1rem auto 1.25rem;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  color: #999e9b;
  font-size: 0.85rem;
  background: rgba(17, 18, 18, 0.8);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    gap: 0.55rem;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    min-height: 60vh;
    background-position: 58% center;
  }
}
