/* station 4: the venue */
/* venue */
.manor{position:relative;width:min(400px,100%);margin:6px auto 18px;aspect-ratio:4/5;border-radius:999px 999px 6px 6px;overflow:hidden;box-shadow:0 0 0 1px var(--silver), 0 0 0 6px var(--white), 0 0 0 7px var(--silver), 0 18px 30px -18px rgba(27,42,74,.4)}
.manor picture{display:block;width:100%;height:100%}
.manor img{width:100%;height:100%;object-fit:cover;object-position:46% 50%;transform:scale(1.06)}

/* the long name fits whole on a phone: never "Ballymascanlo / n" */
#st-venue h2.script{font-size:clamp(30px, 9.3vw, 58px);overflow-wrap:normal}

/* ---------- the iron gates over the painted house (drawn by venue.js) ---------- */
#st-venue .manor{-webkit-mask-image:-webkit-radial-gradient(white, black)}   /* Safari: keep the round top clipping the 3D gates */
#st-venue .manor picture{transform-origin:50% 62%}
#st-venue .vn-gate{position:absolute;inset:0;perspective:900px;pointer-events:none;z-index:1}
#st-venue .vn-leaf{position:absolute;top:0;bottom:0;width:50%;will-change:transform;backface-visibility:visible}
#st-venue .vn-leaf.l{left:0;transform-origin:0 50%}
#st-venue .vn-leaf.r{right:0;transform-origin:100% 50%}
#st-venue .vn-leaf img{display:block;width:100%;height:100%;max-width:none}
#st-venue .vn-leaf.r img{transform:scaleX(-1)}
/* reduced motion: the gates stand open, still */
#st-venue .vn-gate.open .vn-leaf.l{transform:rotateY(76deg);opacity:.9}
#st-venue .vn-gate.open .vn-leaf.r{transform:rotateY(-76deg);opacity:.9}

/* ---------- the address on a hanging plaque ---------- */
/* an ivory enamel plaque with an inked double rule and four little brass pins, hung on two chains
   from a single ring (the swing pivots on that ring) */
#st-venue .card > p.small{position:relative;width:fit-content;max-width:100%;margin:46px auto 4px!important;padding:16px 22px 14px;
  color:var(--ink);border:1px solid #A69C8A;border-radius:16px;
  background:
    radial-gradient(circle at 9px 9px, #D8C38E 0 1.6px, #8C6421 2.2px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 9px) 9px, #D8C38E 0 1.6px, #8C6421 2.2px, transparent 2.8px),
    radial-gradient(circle at 9px calc(100% - 9px), #D8C38E 0 1.6px, #8C6421 2.2px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #D8C38E 0 1.6px, #8C6421 2.2px, transparent 2.8px),
    linear-gradient(170deg, #FFFDF8, #F4EEE2);
  box-shadow:inset 0 0 0 5px rgba(255,253,248,.9), inset 0 0 0 6px rgba(126,117,102,.4), 0 10px 16px -12px rgba(27,42,74,.55);
  transform-origin:50% -40px}
#st-venue .card > p.small::before{content:"";position:absolute;left:14%;right:14%;top:-36px;height:36px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 36' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%235E6470' stroke-width='1.5' stroke-linecap='round' stroke-dasharray='2.6 2.4' vector-effect='non-scaling-stroke'%3E%3Cpath d='M50 5 L2 35' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M50 5 L98 35' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
#st-venue .card > p.small::after{content:"";position:absolute;left:50%;top:-44px;width:9px;height:9px;margin-left:-5.5px;border:1.5px solid #5E6470;border-radius:50%;pointer-events:none}
/* a comfortable tap on the phone number, without moving the lines */
#st-venue .card > p.small a{display:inline-block;padding:10px 8px;margin:-10px -8px}
