/* ============================================================
   byVy.calligraphy — Shared Design System
   ============================================================ */

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* 2. DESIGN TOKENS */
:root {
  --cream:      #FAF6F1;
  --ivory:      #FFFDF9;
  --gold:       #C4966A;
  --gold-dk:    #A07848;
  --gold-lt:    #E8D5C0;
  --ink:        #1C1614;
  --charcoal:   #3D3535;
  --muted:      #8A7E77;
  --border:     #E8DDD5;
  --white:      #FFFFFF;

  --font-display: 'Great Vibes', cursive;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;

  --transition:   0.4s ease;
  --shadow:       0 8px 40px rgba(28, 22, 20, 0.09);
  --shadow-lg:    0 20px 60px rgba(28, 22, 20, 0.15);
}

/* 3. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
}

/* 4. UTILITIES */
.section { padding: 96px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

.divider {
  width: 350px;
  height: 1px;
  background: var(--gold);
  margin: 18px 0 28px;
}

.divider.center { margin-left: auto; margin-right: auto; }

/* 5. BUTTONS */
.btn-gold {
  display: inline-block;
  padding: 14px 38px;
  background: var(--gold);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(232, 213, 192, 0.7);
  color: var(--charcoal) !important;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(196, 150, 106, 0.28);
}

.btn-outline-light {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* 6. NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 24px 0;
  background: transparent;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: var(--ivory);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(28, 22, 20, 0.07);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--ink) !important;
  letter-spacing: 1px;
  line-height: 1;
}

.navbar .nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink) !important;
  margin-left: 28px;
  padding: 4px 0 !important;
  position: relative;
  transition: color var(--transition);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--border) !important;
  background: none;
  padding: 6px 10px;
  font-size: 16px;
  color: var(--ink);
  box-shadow: none !important;
}

/* 7. HERO — HOMEPAGE */
.hero {
  height: 100vh;
  min-height: 680px;
  background: url('https://kitpro.site/caligra/wp-content/uploads/sites/175/2023/06/close-up-photo-of-woman-hands-writing-beautiful-no-2021-08-26-18-52-22-utc-copy0-1-1024x683.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(250, 246, 241, 0.94) 0%,
    rgba(250, 246, 241, 0.68) 42%,
    rgba(250, 246, 241, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 8%;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  display: block;
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--ink);
  line-height: 0.88;
  display: block;
  transform: rotate(-5deg) translateX(24px);
  margin-top: -4px;
}

.hero-desc {
  margin-top: 30px;
  font-size: 16px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.85;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* 8. PAGE HERO (inner pages) */
.page-hero {
  padding: 145px 0 64px;
  background: linear-gradient(to bottom, var(--ivory) 0%, var(--ivory) 72%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Thin gold gradient top border */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold-lt) 20%,
    var(--gold) 50%,
    var(--gold-lt) 80%,
    transparent 100%
  );
}

/* Warm oval glow behind title */
.page-hero::after {
  content: '';
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(196,150,106,0.08) 0%, transparent 68%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.8rem);
  color: var(--ink);
  font-weight: 400;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Thin gold ornament under title */
.page-hero h1::after {
  content: '';
  display: block;
  width: 0px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
}

.page-hero .breadcrumb {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
}

.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { color: var(--gold-dk); text-decoration: none; }

/* 9. ABOUT */
.about { background: var(--ivory); }

.about-text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
  margin-bottom: 4px;
}

.about-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 28px;
}

.about-video {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

/* Fill column height — override aspect-ratio on desktop */
@media (min-width: 992px) {
  .about-video.yt-facade {
    aspect-ratio: unset;
    height: 100%;
    min-height: 320px;
  }
}

/* YouTube facade (lazy-load) */
.yt-facade {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.yt-facade:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.yt-facade:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 10. SERVICES */
.services { background: var(--cream); }

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
}

.service-card {
  background: var(--ivory);
  padding: 52px 36px 44px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold-lt);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.service-card h4 {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

/* 11. GALLERY PREVIEW */
.gallery-preview { background: var(--cream); }

.gallery-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-preview-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-thumb:hover img { transform: scale(1.08); }

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 20, 0.36);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:hover .gallery-thumb-overlay { opacity: 1; }

.gallery-thumb-overlay span {
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
}

/* 12. BLOG */
.blog { background: var(--ivory); }

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
}

.blog-header p {
  max-width: 340px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.blog-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.25s; }
.blog-card:nth-child(3) { animation-delay: 0.40s; }

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.08); }

.blog-body { padding: 24px 22px 28px; }

.blog-date {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.blog-body h5 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition);
  line-height: 1.35;
}

.blog-card:hover .blog-body h5 { color: var(--gold); }

/* 13. CTA / LEARN */
.cta-learn {
  position: relative;
  padding: 120px 0;
  background: url('https://images.unsplash.com/photo-1601581875309-fafbf2d3ed3a?w=1600&q=80') center/cover no-repeat;
}

.cta-learn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(28, 22, 20, 0.78) 0%,
    rgba(28, 22, 20, 0.42) 55%,
    rgba(28, 22, 20, 0.10) 100%
  );
}

.cta-learn-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.cta-learn-content .section-label { color: rgba(212, 184, 150, 0.9); }

.cta-learn-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-learn-content h2 em {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.5em;
  line-height: 0.8;
  display: block;
  color: var(--gold-lt);
}

.cta-learn-content p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* 14. FOOTER */
.footer {
  background: var(--ivory);
  padding: 80px 0 0;
  font-family: var(--font-body);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Decorative watermark */
.footer::before {
  content: 'byVy';
  font-family: var(--font-display);
  font-size: 220px;
  color: var(--gold-lt);
  position: absolute;
  right: -24px;
  bottom: 10px;
  opacity: 0.3;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 300px;
  color: var(--muted);
}

/* Thin gold rule under brand */
.footer-brand::after {
  content: '';
  display: block;
  width: 400px;
  height: 1px;
  background: var(--gold);
  margin-top: 24px;
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 15px;
  color: var(--charcoal);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.footer-info img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.45;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
  opacity: 1;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* 15. GALLERY PAGE */
.gallery-page {
  background: var(--cream);
  padding: 44px 0 100px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  padding: 14px 32px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  margin-bottom: -1px;
}

.filter-btn:hover { color: var(--charcoal); }

.filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-masonry-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-masonry-item.hidden {
  display: none;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-masonry-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 22, 20, 0.82) 0%,
    rgba(28, 22, 20, 0.22) 48%,
    transparent 76%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
}

.gallery-masonry-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), border-color var(--transition);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.08);
}

.gallery-masonry-item:hover .gallery-zoom-icon {
  opacity: 1;
  background: rgba(196, 150, 106, 0.4);
  border-color: var(--gold-lt);
}

/* 16. LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox-close:hover { color: #fff; }

/* 17. CONTACT PAGE */
.contact-section {
  padding: 52px 0 100px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(196,150,106,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(232,213,192,0.12) 0%, transparent 65%),
    var(--cream);
}

/* Split card */
.contact-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ── Glass left panel ── */
.contact-panel-dark {
  background: rgba(255, 253, 249, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(232, 221, 213, 0.6);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.6);
}

/* Soft gold watermark */
.contact-panel-dark::after {
  content: 'byVy';
  font-family: var(--font-display);
  font-size: 190px;
  color: rgba(196,150,106,0.07);
  position: absolute;
  bottom: -20px;
  right: -24px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.contact-panel-logo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.contact-panel-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.contact-panel-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 36px;
  flex-shrink: 0;
}

.contact-panel-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 40px;
  border-left: 2px solid rgba(196,150,106,0.45);
  padding-left: 18px;
}

.contact-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.contact-panel-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.65;
  align-items: flex-start;
}

.contact-panel-list li img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.45;
  margin-top: 3px;
}

.contact-panel-social {
  display: flex;
  gap: 20px;
  margin-top: 0;
  align-items: center;
}

.contact-panel-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
}

.contact-panel-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.contact-panel-social img {
  width: 30px;
  height: 30px;
  display: block;
}

/* ── Light right panel ── */
.contact-panel-light {
  background: var(--ivory);
  padding: 64px 56px;
}

.contact-panel-light h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 6px;
}

/* Two-column input row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

/* Elegant line inputs */
.form-line {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.35s ease;
  display: block;
  margin-bottom: 32px;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-line::placeholder { color: var(--muted); font-size: 13px; letter-spacing: 0.3px; }
.form-line:focus { border-bottom-color: var(--gold); }

textarea.form-line {
  resize: none;
  min-height: 96px;
  line-height: 1.75;
}

/* 18a. GALLERY INTRO */
.gallery-intro {
  text-align: center;
  margin-bottom: 44px;
}

.gallery-intro h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
}

/* 18b. GALLERY COLLECTION CARDS */
.gallery-collections {
  margin-top: 96px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.gallery-collections-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-collections-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
}

.collection-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: block;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.collection-card:hover img { transform: scale(1.07); }

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,22,20,0.82) 0%,
    rgba(28,22,20,0.18) 55%,
    transparent 85%
  );
  transition: background var(--transition);
}

.collection-card:hover .collection-card-overlay {
  background: linear-gradient(
    to top,
    rgba(28,22,20,0.90) 0%,
    rgba(28,22,20,0.30) 55%,
    transparent 85%
  );
}

.collection-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.collection-card-content .section-label {
  color: rgba(232,213,192,0.75);
  margin-bottom: 6px;
}

.collection-card-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
}

/* 18. FADE-IN OBSERVER */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 19. ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 20. RESPONSIVE */
@media (max-width: 991px) {
  .gallery-masonry     { columns: 2; }
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
  .contact-split       { grid-template-columns: 1fr; }
  .contact-panel-dark  { padding: 48px 40px; }
  .contact-panel-light { padding: 48px 44px; }
}

@media (max-width: 767px) {
  .section          { padding: 64px 0; }
  .hero-content     { padding-left: 5%; max-width: 100%; padding-right: 5%; }
  .hero-display     { font-size: 5rem; transform: rotate(-4deg) translateX(12px); }
  .hero-sub         { font-size: 2rem; }
  .gallery-masonry  { columns: 1; }
  .gallery-grid     { grid-template-columns: 1fr; }
  .collection-cards { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; gap: 0; }
  .gallery-preview-header,
  .blog-header      { flex-direction: column; align-items: flex-start; }
  .cta-learn        { padding: 80px 0; }
  .contact-panel-dark  { padding: 40px 28px; }
  .contact-panel-light { padding: 40px 28px; }
  .footer           { padding: 60px 0 0; }
  .page-hero        { padding-top: 120px; padding-bottom: 56px; }
}
