:root {
  --bg: #f4f1ea;
  --bg-soft: #ebe5da;
  --text: #1a1f1c;
  --muted: #606861;
  --line: #d8d0c3;
  --card: #f8f6f1;
  --accent: #2f5345;
  --accent-soft: #d4dfd9;
  --shadow: 0 20px 40px rgba(26, 31, 28, 0.12);
  --page-bg: radial-gradient(circle at top right, #fbfaf6, var(--bg));
  --header-bg: rgba(244, 241, 234, 0.86);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: none;
  z-index: 0;
}

body.bg-mist {
  --page-bg: radial-gradient(circle at 12% 12%, #fdfbf8 0%, #f6f2eb 42%, #eee8dd 100%);
  --header-bg: rgba(246, 241, 233, 0.84);
}

body.bg-mist .grain {
  opacity: 0.55;
  background:
    radial-gradient(40rem 30rem at 8% 5%, rgba(255, 255, 255, 0.8), transparent 65%),
    radial-gradient(35rem 24rem at 92% 2%, rgba(204, 219, 209, 0.25), transparent 62%),
    radial-gradient(42rem 36rem at 40% 100%, rgba(230, 221, 205, 0.35), transparent 60%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(216, 208, 195, 0.7);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

.shop-link {
  color: var(--accent);
  font-weight: 700;
}

main {
  position: relative;
  z-index: 1;
  padding: 1rem clamp(1rem, 4vw, 3rem) 2.5rem;
}

.hero {
  position: relative;
  min-height: min(78vh, 780px);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.05));
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 6s ease-out forwards;
}

.hero-content {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 2;
  color: #fff;
  width: min(650px, 92%);
  padding: clamp(1.2rem, 4vw, 3.3rem);
}

h1,
h2,
h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
}

p {
  margin: 0.55rem 0 0;
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.8;
  margin-bottom: 0.55rem;
}

.button {
  display: inline-block;
  margin-top: 1.3rem;
  padding: 0.72rem 1.18rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: transform 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.33);
}

.button-secondary {
  color: var(--accent);
  background: var(--accent-soft);
}

.intro,
.contact {
  margin-top: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(248, 246, 241, 0.95), rgba(235, 229, 218, 0.95));
  box-shadow: 0 15px 35px rgba(26, 31, 28, 0.08);
}

.intro {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.profile {
  width: min(100%, 150px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  justify-self: start;
}

.gallery-section {
  margin-top: clamp(2.2rem, 5vw, 4rem);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head .eyebrow {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.9rem;
}

.shot {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.shot:hover img {
  transform: scale(1.045);
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 1.2rem;
  align-items: center;
  overflow: hidden;
}

.contact img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

.contact > div {
  padding: 1.4rem;
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem 1rem 1.8rem;
  color: var(--muted);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(15, 16, 15, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: min(94vw, 1320px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.03);
  }
}

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

@media (max-width: 560px) {
  .intro {
    grid-template-columns: 1fr;
  }

  .profile {
    width: min(100%, 110px);
    max-width: 110px;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
