/* Visit page: the head, the drawn drive, the door, the group line. Chrome stays in site.css. */

.sr,.row__label .w.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Head: h1 on the angle, one sentence opposite it. */
.vhead{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1rem clamp(1.5rem,5vw,4rem);align-items:end;padding:clamp(3.4rem,8vh,4.2rem) var(--pad) clamp(1rem,2.4vh,1.6rem)}
.vhead h1{width:max-content;max-width:12em;margin:0 0 .3em;font-size:clamp(1.9rem,2.2vw + 1rem,2.5rem)}
.vhead__sub{margin:0;max-width:36ch;font-size:var(--fs-lead);line-height:1.35}

/* The ledger sits on the same side margins as the footer timetable, and the footer follows without a gap. */
.ledger{margin-inline:var(--pad)}
.foot{margin-top:0}
.row__label .n{display:inline}

/* Section headings: upright size 30–42px, leaning on the desk screen with room for the lift. */
.vh2{width:max-content;max-width:100%;margin:0 0 .4em;padding-top:2.4rem;font-size:clamp(1.875rem,1.4vw + 1.3rem,2.4rem)}
.vrule{height:.2rem;background:var(--accent);margin-bottom:.6rem}

/* Approach: text beside the drawn drive. */
.vapp{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:1.5rem clamp(1rem,3vw,2.5rem);align-items:start}
.vapp__text p{max-width:38ch}
.drive{position:relative;height:12rem;min-width:0}
.drive__label{position:absolute;left:0;top:0;margin:0;font-family:'Jost','Trebuchet MS',system-ui,sans-serif;font-weight:500;font-size:1.1rem;line-height:1.2;color:var(--accent)}
.seg{position:absolute;background:var(--accent);transition:transform 600ms var(--ease)}
.seg--1{left:0;top:3.5rem;width:calc(28% + .25rem);height:.25rem}
.seg--2{left:28%;top:3.5rem;width:.25rem;height:5.75rem;transition-delay:.55s;transition-duration:520ms}
.seg--3{left:28%;top:9rem;width:42%;height:.25rem;transition-delay:1.05s;transition-duration:760ms}
.seg--h{transform-origin:left center}
.seg--v{transform-origin:center top}
.js .seg--h{transform:scaleX(0)}
.js .seg--v{transform:scaleY(0)}
.js .drive.is-drawn .seg{transform:none}

/* The street number on its platter, where the line stops. */
.drive__no{position:absolute;right:0;top:9.125rem;z-index:1;width:clamp(9.5rem,34%,15rem);aspect-ratio:5 / 2;border-radius:50%;background:var(--accent);color:var(--ground);display:grid;place-content:center;text-align:center;transform:translateY(-50%) rotate(var(--angle))}
.drive__no b{font-family:'Jost','Trebuchet MS',system-ui,sans-serif;font-weight:500;font-size:clamp(1.9rem,3vw,2.6rem);line-height:1}
.drive__no span{font-size:1rem;font-weight:500;line-height:1.2}

/* Door: the wide oval photograph beside the address block. */
.door{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.5rem clamp(1.5rem,4vw,3.5rem);align-items:center}
.door__pic{padding:.9rem .6rem}
.door__text .vh2{padding-top:2.4rem}
.addr{display:grid;gap:.1rem;margin:0 0 .9rem;font-style:normal;font-size:1.25rem;line-height:1.35}
.hours{display:flex;align-items:center;gap:.6rem;margin:0 0 1.2rem;font-size:1.125rem}
.hours::before{content:"";flex:none;width:1.25rem;height:.5rem;border-radius:50%;background:var(--accent)}

/* Group: the closing hand-off to catering. */
.group{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr) auto;gap:1rem clamp(1rem,3vw,2.5rem);align-items:end}
.group .vh2{margin:0}
.group p{margin:0;max-width:44ch}

@media (max-width:900px){
  .vapp,.door{grid-template-columns:minmax(0,1fr)}
  .group{grid-template-columns:minmax(0,1fr);align-items:start}
}
@media (max-width:720px){
  .vhead{grid-template-columns:minmax(0,1fr);padding-top:3.6rem}
  .vhead h1{max-width:100%;width:auto;font-size:clamp(1.9rem,8vw,2.4rem)}
  .vh2,.door__text .vh2{padding-top:0;width:auto}
  .row__label .w{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .drive__no{transform:translateY(-50%)}
  .drive__no span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .addr{font-size:1.15rem}
}
@media (prefers-reduced-motion:reduce){
  .js .seg--h,.js .seg--v{transform:none}
}
