/* Santa Joana cover, using the original vineyard photograph from the portfolio. */
#home.sitio-home,body.mobile #home.sitio-home{display:flex;align-items:center;position:relative;isolation:isolate;min-height:620px!important;padding:76px clamp(32px,6vw,90px)!important;margin:0!important;background:#FFF9F5!important;overflow:hidden}
.sitio-hero-photo{position:absolute;z-index:0;inset:0 0 0 auto;width:58%;overflow:hidden}
.sitio-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 24%}
.sitio-hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#FFF9F5 0%,rgba(255,249,245,.96) 14%,rgba(255,249,245,.68) 32%,rgba(255,249,245,0) 61%)}
#home.sitio-home .hero-copy,body.mobile #home.sitio-home .hero-copy{position:relative;z-index:1;left:auto;top:auto;width:66%;max-width:820px;margin:0!important;padding:0;transform:none!important;color:#3B0247}
#home.sitio-home .hero-copy .sitio-eyebrow{max-width:none;margin:0 0 28px;font-size:clamp(14px,1.35vw,19px);font-weight:700;line-height:1.5;letter-spacing:.1em}
#home.sitio-home .hero-copy h1{font-family:Georgia,serif;font-size:clamp(42px,4.5vw,66px);font-weight:700;line-height:1.12;letter-spacing:-.025em;margin:0 0 28px;text-wrap:balance}
#home.sitio-home .hero-copy .sitio-description{max-width:650px;margin:0;font-size:clamp(18px,1.65vw,23px);line-height:1.65;text-align:left}
#home.sitio-home .hero-copy .actions{display:flex;flex-direction:row;align-items:stretch;gap:14px;flex-wrap:wrap;margin:32px 0 0}
#home.sitio-home .hero-copy .actions .btn{display:inline-flex!important;width:auto!important;min-height:54px!important;padding:14px 25px!important;border:2px solid #3B0247!important;border-radius:999px;font-size:16px!important;font-weight:700;line-height:1.3;background:#3B0247;color:#fff;cursor:pointer;white-space:normal;text-align:center}
#home.sitio-home .hero-copy .actions .sitio-contact{background:rgba(255,249,245,.5);color:#3B0247}
#home.sitio-home .hero-copy .actions .btn:hover{background:#3B0247;border-color:#3B0247!important;color:#fff}
#home.sitio-home .hero-copy .actions .btn:focus-visible{outline:3px solid #a24bad;outline-offset:4px}
@media(min-width:801px) and (max-width:1150px){.viewport>header .nav{gap:11px}.viewport>header .nav a{font-size:12px}.viewport>header{padding-inline:24px;gap:16px}.viewport>header .lang{width:28px;height:28px}.viewport>header .languages{gap:4px}#home.sitio-home{min-height:560px!important}#home.sitio-home .hero-copy{width:71%}}
@media(max-width:800px){
  #home.sitio-home{display:flex;align-items:flex-start;min-height:700px!important;padding:44px 24px 330px!important}
  #home.sitio-home .sitio-hero-photo{inset:auto 0 0;width:100%;height:390px}
  #home.sitio-home .sitio-hero-photo img{object-position:50% 28%}
  #home.sitio-home .sitio-hero-photo::after{background:linear-gradient(180deg,#FFF9F5 0%,rgba(255,249,245,.9) 10%,rgba(255,249,245,.3) 28%,rgba(255,249,245,0) 50%)}
  #home.sitio-home .hero-copy{width:100%;max-width:660px}
  #home.sitio-home .hero-copy .sitio-eyebrow{margin-bottom:20px;font-size:14px;letter-spacing:.075em}
  #home.sitio-home .hero-copy h1{font-size:clamp(33px,7.8vw,52px);line-height:1.12;margin-bottom:20px}
  #home.sitio-home .hero-copy .sitio-description{font-size:17px;line-height:1.6;max-width:570px}
  #home.sitio-home .hero-copy .actions{gap:10px;margin-top:25px}
  #home.sitio-home .hero-copy .actions .btn{min-height:50px!important;padding:12px 18px!important;font-size:15px!important}
  #home.sitio-home .hero-copy .actions .sitio-contact{background:#FFF9F5}
}
body.mobile #home.sitio-home{align-items:flex-start;min-height:700px!important;padding:44px 24px 330px!important}
body.mobile #home.sitio-home .sitio-hero-photo{inset:auto 0 0;width:100%;height:390px}
body.mobile #home.sitio-home .sitio-hero-photo img{object-position:50% 28%}
body.mobile #home.sitio-home .sitio-hero-photo::after{background:linear-gradient(180deg,#FFF9F5 0%,rgba(255,249,245,.9) 10%,rgba(255,249,245,.3) 28%,rgba(255,249,245,0) 50%)}
body.mobile #home.sitio-home .hero-copy{width:100%;max-width:660px}
body.mobile #home.sitio-home .hero-copy .sitio-eyebrow{margin-bottom:20px;font-size:14px;letter-spacing:.075em}
body.mobile #home.sitio-home .hero-copy h1{font-size:33px;line-height:1.12;margin-bottom:20px}
body.mobile #home.sitio-home .hero-copy .sitio-description{font-size:17px;line-height:1.6}
body.mobile #home.sitio-home .hero-copy .actions{gap:10px;margin-top:25px}
body.mobile #home.sitio-home .hero-copy .actions .btn{min-height:50px!important;padding:12px 18px!important;font-size:15px!important}
body.mobile #home.sitio-home .hero-copy .actions .sitio-contact{background:#FFF9F5}

/* Reading order within the farm origin section. */
#origem .origin-copy{order:1}
#origem .origin-story{order:3}
#origem .origin-end{order:2}
#origem .origin-copy p+p,#origem .origin-story p+p{margin-top:20px}
#origem .origin-story h3{font:clamp(24px,2.4vw,38px)/1.25 Georgia,serif;color:var(--purple);max-width:950px;margin:0 0 24px}
#origem .origin-closing{text-align:left;font-weight:700}
#variedades{scroll-margin-top:110px}
@media(max-width:800px){#origem .origin-story h3{font-size:26px;margin-bottom:20px}#origem .origin-copy p,#origem .origin-story p{text-align:justify;font-size:16px;line-height:1.65}}
body.mobile #origem .origin-story h3{font-size:26px;margin-bottom:20px}
body.mobile #origem .origin-copy p,body.mobile #origem .origin-story p{text-align:justify}

/* Shared text edges and consistent paragraph rhythm on desktop and mobile. */
#origem .origin-copy,#origem .origin-story{padding-inline:clamp(24px,12vw,180px)}
#origem :is(.origin-copy,.origin-story)>:is(h2,h3,p){max-width:950px;margin-inline:auto}
#origem :is(.origin-copy,.origin-story)>:is(h2,h3){text-align:left;text-wrap:balance}
#home.sitio-home .hero-copy .sitio-description,
#origem .origin-copy p,#origem .origin-story p,
body.mobile #origem .origin-copy p,body.mobile #origem .origin-story p{
  text-align:justify;text-align-last:left;hyphens:auto;-webkit-hyphens:auto;
  word-spacing:normal;overflow-wrap:break-word;
}
#origem .origin-closing{font-weight:700}

/* Preserve the supplied aerial photograph at its original proportions. */
#origem .origin-aerial{padding-inline:clamp(24px,8vw,120px)}
#origem .origin-aerial-photo{display:block;width:100%;max-width:1320px;height:auto}
@media(max-width:800px){#origem .origin-aerial{padding-inline:14px}}
body.mobile #origem .origin-aerial{padding-inline:14px}

/* Sant’VINI opens within the current page, only after the visitor requests it. */
#santvini .santvini-title{max-width:950px;margin:0 auto 28px;padding-inline:24px;text-align:center;font-size:clamp(32px,4vw,52px);text-wrap:balance}
#santvini .santvini-actions{display:flex;justify-content:center;padding:28px 24px 36px}
#santvini .santvini-actions .btn{font:700 16px/1.4 Arial,sans-serif;padding:14px 26px;cursor:pointer;background:#3B0247;border-color:#3B0247;text-align:center}
#santvini .santvini-actions .btn:hover{filter:brightness(1.15)}
#santvini .santvini-actions .btn:focus-visible,.santvini-close:focus-visible{outline:3px solid #3B0247;outline-offset:4px}
.santvini-site-panel{margin:0 clamp(14px,4vw,60px) 40px;border:1px solid #d2bbaf;border-radius:16px;overflow:hidden;background:#FFF9F5;scroll-margin-top:110px}
.santvini-site-panel[hidden]{display:none!important}
.santvini-site-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #d2bbaf}
.santvini-site-toolbar h3{margin:0;color:#3B0247;font:700 20px/1.3 Georgia,serif}
.santvini-close{border:1px solid #3B0247;border-radius:999px;min-height:44px;padding:8px 18px;background:transparent;color:#3B0247;font:700 14px/1.4 Arial,sans-serif;cursor:pointer}
#santvini-frame{display:block;width:100%;height:80vh;height:80dvh;min-height:420px;border:0;background:#fff}
@media(max-width:600px){.santvini-site-panel{margin-inline:10px}.santvini-site-toolbar{padding:12px}.santvini-site-toolbar h3{font-size:18px}#santvini-frame{height:75vh;height:75dvh}}
