/* Local event preview: large photographs and one flowing reservation section. */
html:has(.reference-event), body.event-page:has(.reference-event), .reference-event {background:#f1e6d2}
.reference-event {padding-top:0;color:#4b2816}
.reference-poster {width:100%;margin:0;padding-bottom:0}
.reference-wood {display:flex;align-items:center;gap:20px;min-height:98px;padding:10px max(28px,calc((100% - 1280px)/2));background:#e8b977 url('galeria-figma/madera.png') center/100% auto}
.reference-wood a {flex:none}
.reference-wood img {display:block;width:88px;height:80px;object-fit:contain}
.reference-wood span,.reference-wood strong {font:700 clamp(17px,1.6vw,23px)/1.3 Raleway,Arial,sans-serif;color:#000}
.reference-wood strong {margin-left:auto;text-align:right}
.reference-intro {width:calc(100% - 56px);max-width:1320px;margin:29px auto 0;border:1px solid #e1d1b9}
.reference-intro h1,.reference-intro h2 {font-family:'Playfair Display',Georgia,serif;text-align:center;font-weight:600;color:#4b2816;letter-spacing:-.025em}
.reference-intro h1 {font-size:clamp(30px,3.6vw,50px);line-height:1.18;margin:0 0 20px}
.reference-intro h2 {font-size:clamp(27px,2.7vw,38px);line-height:1.2;margin:28px 0 20px}
.reference-diptych {display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);gap:10px;height:440px}
.reference-diptych img,.reference-gallery img {display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;border-radius:12px}
.reference-diptych img:first-child {object-position:57% center}
.reference-diptych img:last-child {object-position:center 55%}
.reference-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:10px;height:330px}
.reference-menu {width:calc(100% - 96px);max-width:820px;margin:30px auto 0;text-align:center}
.reference-menu .tasting-menu-copy {width:100%;max-width:none;padding:0}
.reference-menu h2 {font:500 clamp(28px,2.5vw,36px)/1.2 'Playfair Display',Georgia,serif;color:#4b2816;margin:0 0 22px;letter-spacing:-.025em}
.reference-menu .tasting-menu-section {padding:18px 0;border-top:1px solid #d8c5ac;margin:0}
.reference-menu .tasting-menu-section h3 {color:#806345;font-size:10px;font-weight:600;letter-spacing:.16em;margin:0 0 9px}
.reference-menu .tasting-menu-section p {color:#644c31;font-size:14px;line-height:1.65;margin:3px 0}
.reference-menu .tasting-menu-section .tasting-menu-note {font-size:14px}
.reference-menu .tasting-menu-passes {display:grid;grid-template-columns:1fr;gap:28px;margin-top:20px}
.reference-menu .tasting-menu-course {margin:0;padding:0 25px}
.reference-menu .tasting-menu-course>span {color:#a3333b;font-size:10px;margin-bottom:8px}
.reference-menu .tasting-menu-course h4 {font:500 24px/1.3 Raleway,Arial,sans-serif;color:#4b2816;margin:0 0 9px}
.reference-menu .tasting-menu-sides {margin:21px auto 0;max-width:760px}
.reference-menu .tasting-menu-cheese,.reference-menu .tasting-menu-wines {padding-block:13px}

/* Keep both sections in normal flow, including while scrolling. */
body.event-page:not(.concept-page) .reference-event .reservation {display:block;width:calc(100% - 96px);max-width:1200px;margin:32px auto;padding:30px 34px;background:#f1e6d2;border:1px solid #d8c5ac;border-radius:20px}
body.event-page:not(.concept-page) .reference-event .reservation-intro,body.event-page:not(.concept-page) .reference-event .booking-form {position:static;inset:auto;transform:none;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.reference-event .reservation-intro .eyebrow {margin:0 0 10px;font-size:10px}
.reference-event .reservation-heading {display:flex;align-items:center;justify-content:space-between;gap:20px}
.reference-event .reservation-heading h2 {font-size:clamp(27px,2.7vw,37px);line-height:1.18;margin:0;letter-spacing:-.035em}
.reference-event .reservation-price-inline {display:flex;align-items:baseline;flex:none;gap:7px;margin:0;padding:0;border:0;background:none;color:#a3333b;font-size:14px;font-weight:600;white-space:nowrap}
.reference-event .reservation-price-inline strong {font:700 34px/1.2 Raleway,Arial,sans-serif}
.reference-event .reservation-intro>.reservation-date {max-width:none;margin:14px 0 16px;font-size:14px}
.reference-event .reservation-date span {display:inline-block;margin-left:14px;padding-left:14px;border-left:1px solid #c9ad8d;color:#a3333b;font-size:12px;font-weight:600}
.reference-event .reservation-details {margin:0 0 23px;padding:18px 0 12px;border-block:1px solid #d8c5ac}
.reference-event .reservation-details>div {display:flex;gap:12px;padding:4px 0;border:0}
.reference-event .reservation-details dt {flex:0 0 137px;font:400 10px/19px Raleway,Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#806345;margin:0}
.reference-event .reservation-details dd {margin:0;color:#4b2816;font:400 13px/20.8px Raleway,Arial,sans-serif}
.reference-event .booking-form>h3 {font:500 27px/1.2 'Playfair Display',Georgia,serif;margin:0 0 6px}
.reference-event .booking-form .form-description {font-size:12px;margin:0 0 20px;color:#806345}
.reference-event #booking-form label {font-size:12px;margin-bottom:15px}
.reference-event #booking-form input,.reference-event #booking-form select,.reference-event #booking-form textarea {margin-top:6px;padding:11px 13px;min-height:44px;font-size:14px;border-radius:10px}
.reference-event #booking-form .form-grid {gap:18px}
.reference-event #booking-form .contact-grid {grid-template-columns:1.2fr 1.2fr 1fr}
.reference-event .guests-title {margin-top:7px;padding-top:16px}
.reference-event .guests-title h4 {font:500 22px/1.3 'Playfair Display',Georgia,serif;margin:0 0 4px}
.reference-event .guests-title p {font-size:12px;margin-bottom:14px}
.reference-event fieldset.guest {display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:14px 18px 0;margin:0 0 16px;border-radius:12px}
.reference-event fieldset.guest>[data-details] {grid-column:1/-1}
.reference-event legend {font-size:10px;color:#806345;padding:0 7px}
.reference-event .reservation-submit {display:flex;align-items:center;gap:20px;margin-top:22px}
.reference-event .reservation-submit-button {width:auto;max-width:100%;flex:none;justify-content:center;gap:20px;min-height:49px;padding:13px 25px;font-size:14px}
.reference-event .reservation-submit-button svg {display:block}
.reference-event .reservation-submit .form-bottom {margin:0;font-size:11px;line-height:1.65;text-align:left;color:#806345}
.reference-event .questions {width:calc(100% - 96px);max-width:1200px;margin:32px auto 0;padding:38px 40px 40px;background:transparent;border:1px solid #d8c5ac;border-radius:20px}
.reference-event .questions h2 {font:400 28px/1.16 'Playfair Display',Georgia,serif;letter-spacing:-.045em;margin:0 0 17px}
.reference-event .questions details {padding-block:14px}
.reference-event .questions summary {min-height:33px;display:flex;align-items:center;justify-content:space-between;font:400 14px/1.4 Raleway,Arial,sans-serif}

@media(min-width:1600px){.reference-diptych{height:485px}.reference-gallery{height:360px}}
@media(max-width:900px){
 .reference-wood{gap:16px;padding-inline:24px}
 .reference-intro{width:calc(100% - 40px)}
 .reference-diptych{height:340px}.reference-gallery{height:260px}
 .reference-menu{width:calc(100% - 48px)}
 .reference-menu .tasting-menu-course{padding-inline:16px}
 .reference-menu .tasting-menu-course h4{font-size:21px}
 body.event-page:not(.concept-page) .reference-event .reservation{width:calc(100% - 48px);padding:25px}
 .reference-event .reservation-heading{align-items:flex-start}
 .reference-event .reservation-price-inline{flex-direction:column;gap:0}
 .reference-event .questions{width:calc(100% - 48px)}
}
@media(max-width:600px){
 .reference-wood{min-height:78px;padding:10px 14px;gap:12px}
 .reference-wood a{flex:0 0 48px}.reference-wood img{width:48px;height:58px}
 .reference-wood span{flex:1;font-size:13px}.reference-wood strong{flex:1;font-size:14px}
 .reference-intro{width:calc(100% - 28px);margin-top:0;border:0}
 .reference-intro h1{font-size:32px;margin:24px 6px 20px}
 .reference-intro h2{font-size:27px;margin:23px 8px 17px}
 .reference-diptych{grid-template-columns:1fr;grid-template-rows:auto;height:auto;gap:8px}
 .reference-diptych img{height:auto;aspect-ratio:1.45;border-radius:10px}
 .reference-diptych img:last-child{aspect-ratio:1.6}
 .reference-gallery{height:175px;gap:5px}.reference-gallery img{border-radius:7px}
 .reference-menu{width:calc(100% - 40px);margin-top:24px}
 .reference-menu h2{font-size:29px;margin-bottom:18px}
 .reference-menu .tasting-menu-passes{grid-template-columns:1fr;gap:19px;margin-top:18px}
 .reference-menu .tasting-menu-course{padding:0 8px}
 .reference-menu .tasting-menu-course+.tasting-menu-course{border:0}
 .reference-menu .tasting-menu-course h4{font-size:23px;margin-bottom:5px}
 .reference-menu .tasting-menu-sides{margin-top:19px}
 body.event-page:not(.concept-page) .reference-event .reservation{width:calc(100% - 28px);margin:22px auto;padding:22px 18px;border-radius:16px}
 .reference-event .reservation-heading{display:block}
 .reference-event .reservation-heading h2{font-size:30px;line-height:1.2}
 .reference-event .reservation-price-inline{flex-direction:row;gap:7px;margin-top:13px}
 .reference-event .reservation-price-inline strong{font-size:32px}
 .reference-event .reservation-intro>.reservation-date{margin:12px 0 14px;font-size:13px}
 .reference-event .reservation-date span{display:block;border:0;padding:0;margin:5px 0 0}
 .reference-event .reservation-details{padding-block:10px;margin-bottom:21px}
 .reference-event .reservation-details>div{display:block;padding:5px 0}
 .reference-event .reservation-details dt{margin:0 0 3px}
 .reference-event #booking-form .form-grid,.reference-event #booking-form .contact-grid{grid-template-columns:1fr;gap:0}
 .reference-event #booking-form input,.reference-event #booking-form select,.reference-event #booking-form textarea{font-size:16px}
 .reference-event fieldset.guest{grid-template-columns:1fr;gap:0;padding:12px 13px 0}
 .reference-event .reservation-submit{flex-direction:column;align-items:flex-start;gap:12px;margin-top:18px}
 .reference-event .reservation-submit-button{font-size:13px;padding-inline:19px;gap:16px}
 .reference-event .reservation-submit .form-bottom br{display:none}
 .reference-event .questions{width:calc(100% - 40px);margin-top:27px;padding:24px 20px}
}

.reference-gallery--pair {grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}
.reference-event .booking-form>h3,.reference-event .guests-title h4 {font-family:Raleway,Arial,sans-serif}
.reference-event fieldset.guest {max-width:808px}
.reference-photo {position:relative;min-width:0;overflow:hidden;border-radius:12px}
.reference-gallery .reference-photo img {position:absolute;max-width:none;border-radius:0;object-fit:fill}
.reference-gallery .reference-photo--chuleton img {height:138.3%;top:-19.23%}
.reference-gallery .reference-photo--romero img {height:160.14%;top:-30.07%}
.reference-gallery .reference-photo--tartar img {width:128.04%;height:177.08%;left:-12.89%;top:-40.11%}
.reference-gallery .reference-photo--parrilla img {height:162.12%;top:-31.06%}
.reference-gallery .reference-photo--tbone img {height:161.82%;top:-25.37%}
@media(max-width:600px){
 .reference-gallery--pair {margin-bottom:8px}
 .reference-photo {border-radius:7px}
 .reference-gallery .reference-photo img {inset:0;width:100%;height:100%;object-fit:cover}
}

@media(min-width:901px){
 .reference-intro .reference-diptych,.reference-intro .reference-gallery {margin-inline:47px}
}

.reference-event .reservation-fixed-date {font-size:12px;margin-bottom:15px}
.reference-event .reservation-fixed-date p {display:flex;align-items:center;min-height:44px;margin:6px 0 0;padding:11px 13px;border:1px solid #d8c5ac;border-radius:10px;background:#fff8ed;color:#4b2816;font-size:14px}

.reference-event [data-names-only] fieldset.guest {grid-template-columns:1fr}
