/* ============================================================
   Pat's Decor — design system
   Palette: ivory, rosewood, blush, antique gold
   Type: Playfair Display (display) · Jost (body) · Great Vibes (script)
   ============================================================ */

:root {
  /* Ts Mini brand: ivory · black · gold (matches the registered logo) */
  --ivory: #fdf9f4;
  --cream: #f6ecdf;
  --blush: #f0e3c9;
  --rose: #b0892f;
  --rosewood: #2b211c;
  --rosewood-dark: #17110d;
  --ink: #2e2620;
  --gold: #c9a227;
  --gold-soft: #e3cf8f;
  --white: #fffdf9;
  --shadow: 0 20px 60px rgba(23, 17, 13, 0.16);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* the hidden attribute must always win, even over display classes */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--rosewood-dark); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }

::selection { background: var(--gold-soft); color: var(--rosewood-dark); }

/* ---------------- announcement ---------------- */
.announce {
  background: var(--rosewood-dark);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(253, 249, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43, 33, 28, 0.08);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 8px 30px rgba(43, 33, 28, 0.1); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a2f26, var(--rosewood-dark) 75%);
  color: var(--gold-soft); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(23,17,13,0.35);
  border: 1px solid rgba(201,162,39,0.55); overflow: hidden; flex-shrink: 0;
}
.nav__logo img { width: 100%; height: 100%; object-fit: cover; }
.nav__name strong { font-family: var(--font-display); font-size: 1.25rem; display: block; line-height: 1.1; color: var(--rosewood-dark); }
.nav__name em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); font-weight: 500; font-size: 0.95rem; }
.nav__links a:not(.btn) { position: relative; padding: 4px 0; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--rosewood-dark); margin: 6px 0; transition: 0.3s; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn--solid { background: var(--rosewood); color: var(--white); box-shadow: 0 10px 26px rgba(43, 33, 28,0.35); }
.btn--solid:hover { background: var(--rosewood-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(43, 33, 28,0.45); }
.btn--ghost { border-color: var(--rosewood); color: var(--rosewood-dark); background: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: var(--rosewood); color: var(--white); transform: translateY(-2px); }
.btn--small { padding: 10px 22px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: calc(100vh - 120px);
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(1100px 600px at 15% 0%, #f9f0dc 0%, transparent 60%),
    radial-gradient(900px 700px at 90% 20%, #f3e8d2 0%, transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(253,249,244,0.55) 0%, rgba(253,249,244,0) 46%, rgba(253,249,244,0.35) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; padding: 90px 24px 110px; }
.hero__eyebrow {
  letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.78rem;
  color: var(--rose); font-weight: 500; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 500; color: var(--rosewood-dark);
  margin-bottom: 26px;
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
.hero__title em { font-style: italic; color: var(--rose); }
.hero__sub { max-width: 620px; margin: 0 auto 38px; font-size: 1.1rem; font-weight: 300; color: #6b5d4d; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.reveal-line { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.hero__eyebrow.reveal-line { animation-delay: 0.15s; }
.hero__sub.reveal-line { animation-delay: 0.75s; }
.hero__cta.reveal-line { animation-delay: 0.95s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 1.5px solid var(--rose); border-radius: 999px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--rose); border-radius: 2px; animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0%,100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(18px); opacity: 0; } }

/* ---------------- marquee ---------------- */
.marquee { background: var(--rosewood-dark); overflow: hidden; padding: 16px 0; }
.marquee__track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gold-soft);
}
.marquee__track span { display: flex; align-items: center; gap: 48px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
.section { padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 72px); max-width: 1280px; margin: 0 auto; }
.section--tint { max-width: none; background: linear-gradient(180deg, #fbf3ec 0%, #f7e9e3 100%); }
.section--tint > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section__sub { max-width: 640px; margin: 14px auto 0; color: #7a6a56; font-weight: 300; }
.kicker {
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.74rem; font-weight: 600;
  color: var(--gold); margin-bottom: 12px;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- services ---------------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.service {
  background: var(--white); border: 1px solid rgba(43, 33, 28,0.09); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  opacity: 0; transform: translateY(30px);
}
.service.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 0.4s; }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
  transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service__icon { font-size: 2.2rem; margin-bottom: 14px; }
.service h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service p { font-size: 0.94rem; color: #7a6a56; font-weight: 300; }

/* ---------------- filters ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; }
.chip {
  border: 1.5px solid rgba(43, 33, 28,0.25); background: rgba(255,255,255,0.6);
  color: var(--rosewood-dark); border-radius: 999px; padding: 9px 22px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--rosewood); transform: translateY(-2px); }
.chip.is-active { background: var(--rosewood); border-color: var(--rosewood); color: var(--white); box-shadow: 0 8px 20px rgba(43, 33, 28,0.3); }

/* ---------------- portfolio grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 30px rgba(43, 33, 28,0.08); cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.5s var(--ease);
  opacity: 0; transform: translateY(30px) scale(0.98);
}
.card.is-in { opacity: 1; transform: none; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(253,249,244,0.92);
  color: var(--rosewood-dark); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.card__star {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(201,162,39,0.5);
}
.card__body { padding: 20px 22px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card__body h3 { font-size: 1.18rem; }
.card__body .cat { font-size: 0.75rem; color: var(--rose); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.card__price { text-align: right; white-space: nowrap; }
.card__price small { display: block; font-size: 0.7rem; color: #9c8c74; text-transform: uppercase; letter-spacing: 0.08em; }
.card__price strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }

/* ---------------- stats ---------------- */
.stats {
  display: flex; justify-content: center; gap: clamp(40px, 8vw, 120px); flex-wrap: wrap;
  background: var(--rosewood-dark); color: var(--cream);
  padding: clamp(48px, 6vw, 72px) 24px; text-align: center;
}
.stat strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-soft); display: block; line-height: 1; }
.stat span { font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }

/* ---------------- about ---------------- */
.about { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__frame {
  border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden;
  border: 1px solid rgba(201,162,39,0.5); padding: 14px; background: var(--white); box-shadow: var(--shadow);
}
.about__frame img { border-radius: 226px 226px 12px 12px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__frame img.about__img--logo { object-fit: contain; background: #000; }
.about__badge {
  position: absolute; right: -12px; bottom: 34px; background: var(--gold); color: #fff;
  border-radius: 50%; width: 108px; height: 108px; display: grid; place-items: center;
  text-align: center; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4;
  box-shadow: 0 14px 30px rgba(201,162,39,0.45); animation: floaty 5s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.04em; display: block; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.about__text p { margin-bottom: 16px; color: #6b5d4d; font-weight: 300; }
.about__body h2 { margin-bottom: 20px; }
.about__sign { font-family: var(--font-script); font-size: 3rem; color: var(--rose); margin-top: 8px; }

/* ---------------- testimonials ---------------- */
.quotes { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.quotes__viewport { overflow: hidden; flex: 1; }
.quotes__track { display: flex; transition: transform 0.6s var(--ease); }
.quote { min-width: 100%; text-align: center; padding: 10px clamp(10px, 4vw, 48px); }
.quote blockquote {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--rosewood-dark); line-height: 1.5; margin-bottom: 22px;
}
.quote blockquote::before { content: "“"; color: var(--gold); font-size: 1.6em; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.quote cite { font-style: normal; font-weight: 500; letter-spacing: 0.04em; }
.quote cite span { display: block; font-size: 0.8rem; color: var(--rose); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px; }
.quotes__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(43, 33, 28,0.3);
  background: var(--white); color: var(--rosewood-dark); font-size: 1.1rem; cursor: pointer;
  transition: all 0.3s; flex-shrink: 0;
}
.quotes__arrow:hover { background: var(--rosewood); color: #fff; border-color: var(--rosewood); }
.quotes__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.quotes__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(43, 33, 28,0.25); cursor: pointer; transition: 0.3s; }
.quotes__dots button.is-active { background: var(--gold); transform: scale(1.35); }

/* ---------------- policies ---------------- */
.policies { list-style: none; max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.policies li {
  background: var(--white); border: 1px solid rgba(43, 33, 28, 0.09); border-left: 3px solid var(--gold);
  border-radius: 14px; padding: 18px 24px; font-weight: 300; color: #6b5d4d;
  display: flex; gap: 14px; align-items: baseline;
}
.policies li::before { content: "◆"; color: var(--gold); font-size: 0.65rem; flex-shrink: 0; }

/* ---------------- contact ---------------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { color: #6b5d4d; font-weight: 300; margin-bottom: 26px; }
.contact__list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; font-weight: 500; }
.contact__list li::before { content: "◆"; color: var(--gold); font-size: 0.6rem; margin-right: 12px; vertical-align: 2px; }
.contact__social { display: flex; gap: 14px; }
.contact__social a {
  border: 1.5px solid rgba(43, 33, 28,0.3); border-radius: 999px; padding: 8px 20px;
  font-size: 0.85rem; font-weight: 500; transition: 0.3s;
}
.contact__social a:hover { background: var(--rosewood); color: #fff; border-color: var(--rosewood); }
.form {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow); display: grid; gap: 18px; border: 1px solid rgba(43, 33, 28,0.08);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a7a62; }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 16px;
  border: 1.5px solid rgba(43, 33, 28,0.18); border-radius: 12px; background: var(--ivory);
  color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
}
.form textarea { resize: vertical; }
.form .consent {
  display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0;
  font-weight: 400; font-size: 0.88rem; color: #6b5d4d; line-height: 1.5;
}
.form .consent input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.form .consent a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 0.9rem; min-height: 1.4em; text-align: center; font-weight: 500; }
.form__status.ok { color: #2d6a4f; }
.form__status.err { color: #b3261e; }

/* ---------------- footer ---------------- */
.footer { background: var(--rosewood-dark); color: var(--blush); text-align: center; padding: 56px 24px 40px; }
.footer__logo {
  display: block; height: clamp(150px, 22vw, 220px); margin: 0 auto 6px;
  mix-blend-mode: screen; /* melts the logo's black square into the dark footer */
}
.footer__brand { font-family: var(--font-script); font-size: 2.6rem; color: var(--gold-soft); margin-bottom: 10px; }
.footer p { font-weight: 300; font-size: 0.95rem; }
.footer__meta { margin-top: 18px; font-size: 0.8rem; opacity: 0.7; }
.footer__admin { text-decoration: underline; text-underline-offset: 3px; }
.footer__admin:hover { color: var(--gold-soft); }

/* ---------------- gallery (masonry) ---------------- */
.masonry { column-count: 4; column-gap: 16px; }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 760px) { .masonry { column-count: 2; } }
.masonry__item {
  break-inside: avoid; margin: 0 0 16px; border-radius: 12px; overflow: hidden; cursor: pointer;
  display: block; box-shadow: 0 6px 20px rgba(43, 33, 28, 0.1); position: relative;
  opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.masonry__item.is-in { opacity: 1; transform: none; }
.masonry__item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14,10,8,0.25));
  opacity: 0; transition: opacity 0.4s;
}
.masonry__item:hover::after { opacity: 1; }

/* ---------------- gallery lightbox ---------------- */
.glightbox { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; }
.glightbox[hidden] { display: none; }
.glightbox__backdrop { position: absolute; inset: 0; background: rgba(14, 10, 8, 0.93); backdrop-filter: blur(4px); animation: fadeIn 0.3s; }
.glightbox__img {
  position: relative; max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); animation: pop 0.35s var(--ease);
}
.glightbox__close {
  position: absolute; top: 16px; right: 22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(253, 249, 244, 0.12); color: #fff; font-size: 1.7rem; cursor: pointer; line-height: 1; transition: 0.3s;
}
.glightbox__close:hover { background: var(--gold); color: var(--rosewood-dark); }
.glightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(253, 249, 244, 0.12); color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; display: grid; place-items: center;
}
.glightbox__nav:hover { background: var(--gold); color: var(--rosewood-dark); }
.glightbox__prev { left: 20px; }
.glightbox__next { right: 20px; }
.glightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--gold-soft); font-size: 0.85rem; letter-spacing: 0.1em; }
@media (max-width: 620px) { .glightbox__nav { width: 42px; height: 42px; font-size: 1.5rem; } .glightbox__prev { left: 8px; } .glightbox__next { right: 8px; } }

/* ---------------- lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(25, 19, 14, 0.55); backdrop-filter: blur(6px); animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; max-width: 940px; width: 100%; max-height: 88vh;
  box-shadow: 0 40px 100px rgba(20, 15, 10,0.4); animation: pop 0.45s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
.lightbox__media { min-height: 320px; }
.lightbox__media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.lightbox__cat { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lightbox__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lightbox__desc { color: #6b5d4d; font-weight: 300; }
.lightbox__price { margin-top: auto; padding-top: 10px; }
.lightbox__price span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9c8c74; }
.lightbox__price strong { font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(253,249,244,0.92); color: var(--rosewood-dark);
  font-size: 1.5rem; cursor: pointer; transition: 0.3s; line-height: 1;
}
.lightbox__close:hover { background: var(--rosewood); color: #fff; transform: rotate(90deg); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
  .lightbox__card { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox__media { max-height: 40vh; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: center;
    background: var(--ivory); padding: 100px 24px 40px; gap: 26px; font-size: 1.1rem;
    transform: translateY(-100%); transition: transform 0.45s var(--ease); z-index: -1;
    box-shadow: 0 30px 60px rgba(43, 33, 28,0.2); border-radius: 0 0 24px 24px;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__burger { display: block; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .form__row { grid-template-columns: 1fr; }
  .quotes__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
