@font-face {
  font-family: "Joliet";
  src:
    url("assets/joliet/Joliet-Regular.woff2") format("woff2"),
    url("assets/joliet/Joliet-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fbf6ef;
  --surface: #fffaf4;
  --surface-strong: #efe0d0;
  --text: #2d2520;
  --muted: #75665d;
  --accent: #9b5e43;
  --accent-dark: #673c2c;
  --border: rgba(45, 37, 32, 0.14);
  --shadow: 0 24px 70px rgba(82, 54, 37, 0.16);
  --brand-title-size: clamp(2.35rem, 3.7vw, 3.45rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(251, 246, 239, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: clamp(56px, 7vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 0;
  font-family: Joliet, Georgia, "Times New Roman", serif;
  line-height: 0.9;
}

.brand strong {
  font-size: var(--brand-title-size);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.brand small {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--accent-dark);
}

.menu-icon-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 16px;
}

.hero,
.section {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 56px 0 72px;
}

.hero-content h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-content h1 {
  max-width: 680px;
  font-size: clamp(2.9rem, 4.8vw, 4.7rem);
  line-height: 0.86;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 52px;
  padding: 0 24px;
}

.button.primary {
  background: var(--accent-dark);
  color: #fffaf4;
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255, 250, 244, 0.66);
  color: var(--accent-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.instagram-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-photo {
  position: relative;
  margin: 0;
  width: 76%;
  justify-self: end;
}

.hero-photo::before {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 70%;
  height: 80%;
  background: var(--surface-strong);
  border-radius: 40% 60% 18px 18px;
  content: "";
}

.hero-photo img {
  position: relative;
  aspect-ratio: 4 / 4.7;
  width: 100%;
  border-radius: 44% 44% 20px 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.section {
  padding: 76px 0;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.72);
  box-shadow: 0 14px 44px rgba(82, 54, 37, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 0.98;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 300px;
  gap: 18px;
  max-width: 930px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
}

.gallery-card.wedding {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card.prewedding img {
  object-position: center 72%;
}

.gallery-card.family img {
  object-position: center 34%;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card div {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  width: auto;
  max-width: calc(100% - 28px);
  padding: 10px 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(45, 37, 32, 0.22);
  color: #fffaf4;
  backdrop-filter: blur(8px);
}

.gallery-card h3 {
  font-size: 1rem;
  line-height: 1;
}

.gallery-card h3,
.gallery-card p,
.service-card h3,
.service-card p {
  margin: 0;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.about-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.about-text p:first-child {
  margin-top: 0;
}

.service-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  padding: 30px;
}

.service-card.featured {
  background: var(--accent-dark);
  color: #fffaf4;
}

.service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.service-card p,
.service-card li {
  color: var(--muted);
  line-height: 1.7;
}

.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 250, 244, 0.78);
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.contact {
  max-width: 760px;
}

.contact p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: fixed;
    inset: 82px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-photo {
    justify-self: center;
  }

  .service-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 20px;
  }

  .hero,
  .section {
    width: min(100% - 28px, 1280px);
  }

  .hero-content h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .gallery {
    display: block;
  }

  .gallery-card {
    height: 340px;
    margin-bottom: 16px;
  }

  .gallery-card.wedding img,
  .gallery-card.prewedding img {
    object-position: center 78%;
  }
}
