:root{
  --cream:#F3ECE1;
  --straw:#FBF7EE;
  --sand:#E4D6C3;
  --wine:#5C2331;
  --wine-deep:#3E1622;
  --gold:#B4915F;
  --ink:#33241F;
  --paper:#FBF7F0;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--cream);
  color:var(--ink);
  font-family:'Jost', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:var(--gold);
  opacity:0;
  animation:fadeUp 0.9s ease forwards;
}
.divider .line{width:44px;height:1px;background:var(--gold);}
.divider svg{width:14px;height:14px;}

@keyframes fadeUp{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:translateY(0);}
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(10px);
  background:rgba(243,236,225,0.8);
  border-bottom:1px solid rgba(92,35,49,0.1);
}
.topbar-inner{
  max-width:1180px;
  margin:0 auto;
  padding:14px clamp(16px, 4vw, 64px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  flex-shrink:0;
  color:var(--wine-deep);
  font-family:'Playfair Display', serif;
  font-size:clamp(1rem, 2vw, 1.3rem);
  font-weight:600;
  text-decoration:none;
  letter-spacing:0.04em;
}
.topbar-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(10px, 2vw, 24px);
}
.topbar-links a{
  color:var(--wine-deep);
  text-decoration:none;
  font-family:'Jost', sans-serif;
  font-size:0.8rem;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  background:transparent;
  border:0;
  padding:8px 0;
  cursor:pointer;
  transition:color 0.25s ease, opacity 0.25s ease;
}
.topbar-links a:hover{
  color:var(--wine);
}
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid rgba(92,35,49,0.25);
  border-radius:999px;
  background:transparent;
  color:var(--wine-deep);
  font:500 0.75rem 'Jost', sans-serif;
  letter-spacing:0.08em;
  text-transform:uppercase;
  cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }
html{ scroll-padding-top:80px; }

header{
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:64px 24px 48px;
  position:relative;
  background:var(--cream);
}

.eyebrow{
  margin-top:22px;
  font-family:'Jost', sans-serif;
  font-weight:400;
  letter-spacing:0.42em;
  font-size:0.72rem;
  color:var(--wine);
  text-transform:uppercase;
  opacity:0;
  animation:fadeUp 0.9s ease 0.15s forwards;
}

h1{
  font-family:'Playfair Display', serif;
  font-weight:700;
  line-height:0.92;
  color:var(--wine-deep);
  font-size:clamp(3.4rem, 14vw, 6.6rem);
  letter-spacing:0.01em;
  margin-top:6px;
  opacity:0;
  animation:fadeUp 1s ease 0.3s forwards;
}
h1 span{
  display:block;
  font-style:italic;
  font-weight:500;
  color:var(--wine);
  font-size:0.5em;
  letter-spacing:0.05em;
  margin-bottom:2px;
}

.lede{
  max-width:420px;
  margin:34px auto 0;
  font-family:'Cormorant Garamond', serif;
  font-size:1.35rem;
  line-height:1.55;
  color:var(--ink);
  opacity:0;
  animation:fadeUp 0.9s ease 0.6s forwards;
}
.lede strong{color:var(--wine); font-weight:600;}

.cta{
  margin-top:44px;
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--wine-deep);
  color:var(--paper);
  text-decoration:none;
  padding:18px 38px;
  border-radius:999px;
  font-family:'Jost', sans-serif;
  font-weight:500;
  letter-spacing:0.05em;
  font-size:1rem;
  box-shadow:0 14px 30px -12px rgba(62,22,34,0.55);
  transition:transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  opacity:0;
  animation:fadeUp 0.9s ease 0.78s forwards, pulse 3.4s ease-in-out 2.2s infinite;
  position:relative;
}
.cta:hover{
  transform:translateY(-3px);
  background:var(--wine);
  box-shadow:0 18px 34px -10px rgba(62,22,34,0.6);
}
.cta svg{width:20px;height:20px;flex-shrink:0;}
@keyframes pulse{
  0%,100%{box-shadow:0 14px 30px -12px rgba(62,22,34,0.55);}
  50%{box-shadow:0 14px 34px -10px rgba(180,145,95,0.65);}
}

.scroll-hint{
  position:absolute;
  bottom:28px;
  font-size:0.65rem;
  letter-spacing:0.3em;
  color:var(--wine);
  opacity:0.55;
  text-transform:uppercase;
}

.hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  max-width:1100px;
}

.hero-visual{
  display:none;
  align-items:center;
  justify-content:center;
}
.visual-ring{ display:none; }
.visual-card{
  position:relative;
  width:100%;
  height:100%;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(160deg, var(--sand) 0%, var(--cream) 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:var(--wine-deep);
  box-shadow:0 20px 40px -20px rgba(62,22,34,0.35);
}
.visual-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:115%;
  object-fit:cover;
  object-position:center;
}
.visual-fallback{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:0 20px;
}
.visual-card svg{ width:40px; height:40px; }
.visual-card p{
  font-family:'Playfair Display', serif;
  font-style:italic;
  font-weight:500;
  font-size:1rem;
  text-align:center;
  line-height:1.4;
  color:var(--wine);
}

main{
  background:var(--cream);
  padding:90px 24px 40px;
}

section.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
section.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

.about-section{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  justify-items:center;
  gap:34px;
  max-width:480px;
  margin:0 auto 90px;
}
.about-section::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:var(--cream);
}
.about-section .about-eyebrow,
.gallery-section .about-eyebrow{
  color:var(--wine-deep);
}
.about-section .about-copy p:not(.about-eyebrow){
  color:var(--wine-deep);
}
.about-photo{
  position:relative;
  width:min(100%, 290px);
  aspect-ratio:0.82;
  border:1px solid var(--gold);
  border-radius:48% 48% 18px 18px;
  padding:10px;
}
.about-photo img{
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover;
  object-position:center top;
}
.about-copy{
  max-width:540px;
  text-align:center;
}
.about-eyebrow{
  margin-bottom:10px;
  color:var(--gold);
  font-family:'Jost', sans-serif;
  font-size:0.7rem;
  font-weight:500;
  letter-spacing:0.2em;
  text-transform:uppercase;
}
.about-copy h2{
  margin-bottom:20px;
  color:var(--wine-deep);
  font-family:'Playfair Display', serif;
  font-size:clamp(1.8rem, 7vw, 2.3rem);
  font-style:italic;
  font-weight:600;
}
.about-copy p:not(.about-eyebrow){
  margin-top:12px;
  color:#6b5850;
  font-family:'Cormorant Garamond', serif;
  font-size:1.2rem;
  line-height:1.6;
}

.services{
  position:relative;
  isolation:isolate;
  max-width:480px;
  margin:0 auto 90px;
}
.services::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:var(--cream);
}
.services h2{
  text-align:center;
  font-family:'Playfair Display', serif;
  font-style:italic;
  font-weight:600;
  color:var(--wine-deep);
  font-size:1.7rem;
  margin-bottom:44px;
}
.services-layout{
  display:flex;
  flex-direction:column;
  gap:44px;
}
.service-list{
  display:flex;
  flex-direction:column;
  gap:0;
}
.price-card{
  display:block;
  width:100%;
  max-width:320px;
  margin:0 auto 16px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 24px 50px -24px rgba(62,22,34,0.45);
  cursor:zoom-in;
  transition:transform 0.4s ease, box-shadow 0.4s ease;
}
.price-card:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 56px -22px rgba(62,22,34,0.5);
}
.price-card img{
  display:block;
  width:100%;
  height:auto;
}
.service{
  display:flex;
  align-items:center;
  gap:22px;
  padding:22px 4px;
  border-bottom:1px solid var(--sand);
}
.service:first-child{border-top:1px solid var(--sand);}
.service .icon{
  width:56px;height:56px;
  border-radius:50%;
  background:var(--sand);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  color:var(--wine-deep);
}
.service .icon svg{width:24px;height:24px;}
/* ícone em imagem (PNG transparente já na cor vinho) */
.service .icon .icon-img{
  display:block;
  width:30px;
  height:30px;
}
.service h3{
  font-family:'Jost', sans-serif;
  font-weight:600;
  font-size:1rem;
  letter-spacing:0.02em;
  color:var(--ink);
  text-transform:uppercase;
}
.service p{
  font-family:'Cormorant Garamond', serif;
  font-size:1.08rem;
  color:#6b5850;
  margin-top:2px;
}

.gallery-section{
  width:100vw;
  margin:0 calc(50% - 50vw) 64px;
  padding:24px 0;
  background:var(--straw);
}
.gallery-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  max-width:1180px;
  margin:0 auto 18px;
  padding:0 24px;
}
.gallery-heading h2{
  color:var(--wine-deep);
  font-family:'Playfair Display', serif;
  font-size:clamp(1.5rem, 5vw, 2rem);
  font-style:italic;
  font-weight:600;
}
.gallery-toggle{
  flex:0 0 auto;
  border:1px solid rgba(92,35,49,0.2);
  border-radius:999px;
  padding:8px 14px;
  background:transparent;
  color:var(--wine-deep);
  font:500 0.72rem 'Jost', sans-serif;
  cursor:pointer;
}
.gallery-toggle:hover{ background:rgba(92,35,49,0.08); }
.gallery-viewport{
  overflow:hidden;
}
.gallery-track{
  display:flex;
  width:max-content;
  gap:16px;
  will-change:transform;
}
.gallery-photo{
  flex:0 0 auto;
  width:clamp(200px, 20vw, 340px);
  aspect-ratio:0.8;
  margin:0;
  overflow:hidden;
  border-radius:18px;
  background:var(--sand);
  box-shadow:0 16px 36px -22px rgba(62,22,34,0.4);
}
.gallery-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
@media (max-width:700px){
  .gallery-track{ gap:12px; }
  .gallery-photo{ width:min(72vw, 260px); }
}

.quote-block{
  max-width:440px;
  margin:0 auto 90px;
  text-align:center;
}
.quote-block p{
  font-family:'Playfair Display', serif;
  font-style:italic;
  font-weight:500;
  font-size:clamp(1.5rem, 5vw, 1.9rem);
  color:var(--wine);
  line-height:1.4;
}
.quote-block .tag{
  display:inline-block;
  margin-top:20px;
  padding:8px 20px;
  background:var(--wine-deep);
  color:var(--paper);
  border-radius:999px;
  font-family:'Jost', sans-serif;
  font-size:0.75rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

footer{
  max-width:460px;
  margin:0 auto;
  text-align:center;
  padding-bottom:70px;
}
.footer-card{
  background:var(--wine-deep);
  border-radius:22px;
  padding:44px 30px;
  color:var(--paper);
}
.footer-card h3{
  font-family:'Playfair Display', serif;
  font-weight:600;
  font-size:1.5rem;
  margin-bottom:10px;
}
.footer-card p{
  font-family:'Cormorant Garamond', serif;
  font-size:1.1rem;
  opacity:0.85;
  margin-bottom:26px;
}
.footer-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--paper);
  color:var(--wine-deep);
  text-decoration:none;
  padding:15px 30px;
  border-radius:999px;
  font-weight:500;
  letter-spacing:0.03em;
  transition:transform 0.3s ease;
}
.footer-cta:hover{transform:translateY(-2px);}
.footer-cta svg{width:18px;height:18px;}

.footer-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin-top:34px;
}
.site-footer{
  background:var(--straw);
  padding:22px clamp(16px, 4vw, 64px);
}
.site-footer-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 24px;
}
.copyright{
  margin:0;
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-size:0.7rem;
  letter-spacing:0.04em;
  opacity:0.6;
}
.footer-credit{
  margin:0;
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-size:0.7rem;
  letter-spacing:0.04em;
  opacity:0.6;
}
.site-footer .footer-credit{ flex:0 0 auto; }
.footer-credit span{
  color:var(--wine);
  font-weight:500;
}
.signature{
  color:var(--gold);
  font-size:0.7rem;
  letter-spacing:0.35em;
  text-transform:uppercase;
}
.address{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--ink);
  opacity:0.55;
  font-family:'Jost', sans-serif;
  font-size:0.72rem;
  letter-spacing:0.02em;
  text-decoration:none;
  text-align:center;
  line-height:1.4;
  transition:opacity 0.25s ease, color 0.25s ease;
}
.address svg{ width:14px; height:14px; flex-shrink:0; }
.address:hover{ opacity:0.9; color:var(--wine); }
.site-footer .address{
  flex:1 1 280px;
  min-width:0;
  justify-content:flex-end;
  overflow-wrap:anywhere;
}
.back-to-top{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:36px;
  height:36px;
  border:1px solid rgba(92,35,49,0.16);
  border-radius:999px;
  color:var(--wine-deep);
  text-decoration:none;
  opacity:0.65;
  transition:background 0.25s ease, opacity 0.25s ease;
}
.back-to-top svg{ width:16px; height:16px; }
.back-to-top:hover{
  background:rgba(92,35,49,0.08);
  opacity:1;
}

.footer-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}
.footer-cta{ justify-content:center; }

.site-footer .copyright,
.site-footer .footer-credit,
.site-footer .address{
  color:var(--wine-deep);
  opacity:1;
}
.site-footer .footer-credit span{
  color:var(--wine-deep);
}
.site-footer .back-to-top{
  border-color:rgba(62,22,34,0.35);
  opacity:1;
}

:focus-visible{
  outline:2px solid var(--wine);
  outline-offset:3px;
}

/* ===== detalhes extras do card no rodapé (desktop grande) ===== */
@media (min-width:1440px){
  .footer-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-align:left;
    gap:40px;
    flex-wrap:wrap;
  }
  .footer-card > div:first-child{
    flex:1 1 260px;
    min-width:0; /* permite a coluna encolher e quebrar linha corretamente, em vez de "empacar" palavra por palavra */
  }
  .footer-card p{ margin-bottom:0; }
  .footer-actions{
    flex-direction:column;
    align-items:stretch;
    flex-shrink:0;
  }

  .footer-meta{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
  .site-footer .address{ text-align:right; }
}

/* Os blocos de responsividade ficam no FINAL do arquivo para sobrescrever as regras base */
/* ===================================================
   TABLET LARGO / DESKTOP  (>= 900px)
   =================================================== */
@media (min-width:900px){
  .topbar-links a{ font-size:0.72rem; }

  header{ text-align:left; padding:48px 64px; }

  .hero-inner{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    align-items:center;
    gap:72px;
  }
  .hero-text{ max-width:520px; }
  .divider, .eyebrow{ justify-content:flex-start; }
  .divider{ display:inline-flex; }
  h1{ font-size:clamp(4.2rem, 6.2vw, 6.4rem); }
  .lede{ margin-left:0; }
  .cta{ margin-left:0; }

  .hero-visual{
    display:flex;
    position:relative;
    height:min(560px, 60vh);
    opacity:0;
    animation:fadeUp 1s ease 0.5s forwards;
  }
  .visual-ring{
    display:block;
    position:absolute;
    width:88%;
    aspect-ratio:1/1.15;
    border:1px solid var(--gold);
    border-radius:50% / 45%;
    opacity:0.55;
  }
  .visual-ring::before{
    content:"";
    position:absolute;
    inset:22px;
    border:1px solid var(--wine);
    border-radius:50% / 45%;
    opacity:0.35;
  }
  .visual-card{
    width:72%;
    height:auto;
    aspect-ratio:0.82/1;
    border-radius:50% / 40%;
    gap:18px;
    box-shadow:0 30px 60px -30px rgba(62,22,34,0.35);
  }
  .visual-fallback{ padding:0; }
  .visual-card svg{ width:52px; height:52px; }
  .visual-card p{ font-size:1.15rem; }

  .scroll-hint{ display:none; }

  main{ padding:120px 64px 60px; }

  .about-section{
    grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items:center;
    gap:clamp(48px, 8vw, 100px);
    max-width:1000px;
  }
  .about-photo{
    width:min(100%, 380px);
  }
  .about-copy{ text-align:left; }

  .services{ max-width:1000px; }
  .services h2{ font-size:2rem; margin-bottom:56px; }
  .gallery-section{ padding:32px 0; }
  .gallery-heading{ padding:0 64px; }
  .services-layout{
    display:grid;
    grid-template-columns:1fr auto;
    gap:64px;
    align-items:center;
  }
  .price-card{
    max-width:none;
    width:auto;
    height:min(540px, 72svh);
    aspect-ratio:1024/1536;
    margin:0;
    margin-bottom:16px;
  }
  .price-card img{ height:100%; object-fit:cover; }

  .quote-block{ max-width:640px; margin-bottom:120px; }

  footer{ max-width:640px; }
  .footer-card{ padding:56px 64px; }
}

/* ===================================================
   DESKTOP GRANDE  (>= 1440px)
   =================================================== */
@media (min-width:1440px){
  header{ padding:56px 96px; }
  .hero-inner{ max-width:1320px; gap:96px; }
  .hero-text{ max-width:600px; }
  h1{ font-size:clamp(5rem, 5.4vw, 7.2rem); }
  .lede{ max-width:480px; font-size:1.45rem; }
  .hero-visual{ height:min(620px, 58vh); }

  main{ padding:140px 96px 70px; }
  .services{ max-width:1120px; }
  .services-layout{ grid-template-columns:1fr auto; gap:80px; }
  .price-card{ height:min(620px, 76svh); }
  .quote-block{ max-width:720px; margin-bottom:140px; }
  footer{ max-width:720px; }
}

/* ===================================================
   ULTRAWIDE  (>= 1920px, cobre 2560×1080 e afins)
   =================================================== */
@media (min-width:1920px){
  header{ min-height:auto; padding:110px 140px; }
  .hero-inner{ max-width:1520px; gap:120px; }
  .hero-text{ max-width:660px; }
  .lede{ max-width:540px; }
  .hero-visual{ height:640px; }

  main{ padding:160px 140px 90px; }
  .services{ max-width:1280px; }
  .services-layout{ grid-template-columns:1fr auto; gap:104px; }
  .price-card{ height:min(700px, 78svh); }
  .quote-block{ max-width:800px; margin-bottom:160px; }
  footer{ max-width:800px; }
}

@media (max-width:700px){
  .gallery-section{ padding:20px 0; }
  .gallery-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:0 24px;
  }
  .gallery-heading h2{ font-size:1.55rem; }
  .gallery-toggle{ padding:6px 12px; }
  .site-footer{
    padding:8px 12px;
  }
  .site-footer-inner{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 28px;
    align-items:center;
    justify-items:center;
    gap:2px 8px;
    text-align:center;
    max-width:100%;
  }
  .copyright,
  .footer-credit{
    grid-column:1 / -1;
    font-size:0.52rem;
    letter-spacing:0.01em;
    opacity:0.8;
    line-height:1.3;
  }
  .site-footer .address{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 1 auto;
    gap:4px;
    width:auto;
    max-width:100%;
    margin:0;
    font-size:0.48rem;
    line-height:1.3;
    color:var(--wine-deep);
    opacity:1;
    text-align:center;
  }
  .site-footer .address svg{
    width:9px;
    height:9px;
    flex-shrink:0;
    margin-top:1px;
  }
  .back-to-top{
    grid-column:2;
    grid-row:3;
    width:28px;
    height:28px;
    margin:0;
  }
  .back-to-top svg{ width:12px; height:12px; }
  .topbar-inner{
    padding:12px 16px;
    flex-wrap:wrap;
    gap:0 12px;
  }
  .nav-toggle{ display:inline-flex; }
  .topbar-links{
    display:none;
    flex:1 0 100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding-top:8px;
  }
  .topbar.menu-open .topbar-links{ display:flex; }
  .topbar-links a{
    width:100%;
    padding:12px 2px;
    text-align:left;
    border-top:1px solid rgba(92,35,49,0.12);
    font-size:0.8rem;
  }
}

/* ===== contato: horário e Instagram ===== */
.footer-card .hours{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:26px;
  font-family:'Jost', sans-serif;
  font-size:0.8rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--sand);
  opacity:1;
}
.footer-card p:has(+ .hours){ margin-bottom:14px; }
.footer-actions .footer-cta{ min-width:min(100%, 250px); }
.footer-card .hours svg{ width:16px; height:16px; flex-shrink:0; }
.footer-cta-outline{
  background:transparent;
  color:var(--paper);
  border:1px solid rgba(251,247,240,0.55);
}
.footer-cta-outline:hover{ background:rgba(251,247,240,0.1); }

/* ===== galeria: clique para ampliar e arrastar ===== */
.gallery-viewport{
  touch-action:pan-y;
  cursor:grab;
}
.gallery-section.is-dragging .gallery-viewport{ cursor:grabbing; }
.gallery-section.is-dragging .gallery-open{ pointer-events:none; }
.gallery-open{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-in;
  -webkit-user-drag:none;
  user-select:none;
}
.gallery-open img{
  transition:transform 0.5s ease;
  pointer-events:none;
}
.gallery-open:hover img{ transform:scale(1.04); }
.gallery-open:focus-visible{ outline-offset:-4px; }
.gallery-hint{
  max-width:1180px;
  margin:14px auto 0;
  padding:0 24px;
  font-size:0.72rem;
  letter-spacing:0.08em;
  color:var(--wine);
  opacity:0.7;
}

.lightbox{
  width:100%;
  max-width:100%;
  height:100%;
  max-height:100%;
  margin:0;
  padding:56px 64px 40px;
  border:0;
  background:rgba(30,12,18,0.97);
  color:var(--paper);
}
.lightbox[open]{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.lightbox::backdrop{ background:transparent; }
.lightbox img{
  max-width:100%;
  max-height:calc(100% - 40px);
  object-fit:contain;
  border-radius:14px;
  user-select:none;
}
.lightbox-caption{
  font-family:'Cormorant Garamond', serif;
  font-size:1.05rem;
  text-align:center;
  opacity:0.85;
}
.lightbox-btn{
  position:absolute;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:1px solid rgba(251,247,240,0.35);
  border-radius:999px;
  background:rgba(30,12,18,0.5);
  color:var(--paper);
  cursor:pointer;
}
.lightbox-btn:hover{ background:rgba(251,247,240,0.12); }
.lightbox-btn svg{ width:20px; height:20px; }
.lightbox-close{ top:12px; right:12px; }
.lightbox-prev{ left:12px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:12px; top:50%; transform:translateY(-50%); }
.lightbox :focus-visible{ outline-color:var(--paper); }
@media (max-width:700px){
  .lightbox{ padding:60px 12px 24px; }
  .lightbox-prev, .lightbox-next{ top:auto; bottom:16px; transform:none; }
  .lightbox{ padding-bottom:76px; }
}
.lightbox.is-single .lightbox-prev,
.lightbox.is-single .lightbox-next,
.lightbox.is-single .lightbox-caption{ display:none; }
.lightbox.is-single img{ max-height:100%; }
@media (max-width:700px){
  .lightbox.is-single{ padding-bottom:24px; }
}
