@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --paper: #f2ecdf;
  --paper-deep: #e4dccd;
  --ink: #121212;
  --muted: #5f6058;
  --line: rgba(18, 18, 18, 0.12);
  --panel: rgba(255, 252, 246, 0.72);
  --panel-strong: rgba(255, 252, 246, 0.9);
  --shadow: 0 28px 80px rgba(27, 27, 22, 0.12);
  --radius: 28px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(208, 196, 172, 0.7), transparent 28%),
    radial-gradient(circle at right 20%, rgba(156, 173, 171, 0.22), transparent 26%),
    linear-gradient(180deg, #eee5d5 0%, #f5efe4 34%, #ebe4d7 100%);
  min-height: 100vh;
  opacity: 0;
  transition: opacity 360ms ease;
}

body.is-ready {
  opacity: 1;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 20px 0 8px;
  backdrop-filter: blur(18px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(247, 242, 233, 0.7);
  box-shadow: 0 16px 40px rgba(60, 55, 42, 0.08);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-kicker,
.eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 0.95;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a,
.social-link,
.text-link {
  position: relative;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a::after,
.social-link::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after,
.social-link:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

.page-root {
  padding: 32px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.82), rgba(228, 220, 205, 0.52)),
    rgba(255, 255, 255, 0.32);
  box-shadow: var(--shadow);
}

.hero h1,
.section-heading h2,
.cover-copy h2,
.cover-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.92;
}

.lead,
.hero-note p,
.cover-copy p,
.contact-copy p,
.form-helper,
.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-note {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: var(--panel);
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cover-card {
  display: grid;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.cover-card.compact {
  min-height: 320px;
}

.cover-image {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.cover-card img,
.photo-frame img,
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.cover-card:hover img,
.photo-frame:hover img {
  transform: scale(1.025);
}

.cover-copy {
  display: grid;
  gap: 12px;
  padding: 24px 24px 28px;
}

.cover-copy h2 {
  font-size: 2rem;
}

.cover-copy h3 {
  font-size: 1.55rem;
}

.photo-grid {
  margin-bottom: 52px;
}

.masonry-grid {
  columns: 2 320px;
  column-gap: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.photo-frame {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  break-inside: avoid;
}

.photo-frame img {
  width: 100%;
  height: auto;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
}

.contact-image,
.contact-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact-image img {
  aspect-ratio: 4 / 5;
}

.contact-image figcaption {
  padding: 18px 22px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-panel {
  padding: 28px;
}

.contact-copy {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.primary-button {
  width: fit-content;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #f8f3e8;
  cursor: pointer;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding-top: 10px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--line);
}

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

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(100%, 1200px);
  display: grid;
  gap: 16px;
}

.lightbox-image {
  overflow: hidden;
  border-radius: 22px;
}

.lightbox-image img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e9dfce;
}

.lightbox-actions {
  display: flex;
  gap: 8px;
}

.lightbox-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .feature-grid,
  .cover-grid {
    grid-template-columns: 1fr;
  }

  .cover-card {
    min-height: 460px;
  }

  .cover-card.compact {
    min-height: 280px;
  }

  .site-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 14px;
  }

  .header-bar {
    border-radius: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(247, 242, 233, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-wrap.is-open {
    display: grid;
  }

  .nav-links {
    display: grid;
    gap: 12px;
  }

  .hero {
    padding: 28px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .masonry-grid {
    columns: 1;
  }
}
