/* Hill plans, owner brief 28 November 2026. Loaded after the 20 November stylesheets, which are unchanged. */

/* Chalk drawing above each plan. The height marker is drawn here, not in the image:
   a vertical dimension line with an arrowhead at each end, from the baseline to the summit.
   The figure is exactly as wide as the card beneath it. --img is the width of the drawing and
   --rule is where the dimension line stands, both measured from the figure's left edge. */
.hill{position:relative;margin:0;padding:34px 0 0;color:var(--ink);min-width:0;--hill-gap:58px;--rule-gap:31px;--img:min(calc(100% - var(--hill-gap)),372px);--rule:calc(var(--img) + var(--rule-gap))}
.hill img{display:block;width:var(--img);height:auto}
.hill-rule{position:absolute;top:34px;bottom:0;left:var(--rule);width:1px;background:currentColor;opacity:.85}
.hill-rule:before,.hill-rule:after{content:'';position:absolute;left:-4px;width:0;height:0;border-inline:4.5px solid transparent}
.hill-rule:before{top:0;border-bottom:9px solid currentColor}
.hill-rule:after{bottom:0;border-top:9px solid currentColor}
/* Dotted line at summit level: from the peak to the arrow's top tip, and no further. */
.hill-summit{position:absolute;top:34px;left:calc(var(--img)*(1 - var(--from-right)) + 4px);width:calc(var(--img)*var(--from-right) + var(--rule-gap) - 4px);height:0;border-top:1px dashed currentColor;opacity:.42}
/* The ground line: the full width of the card beneath, left edge to right edge. The arrow's bottom tip sits on it. */
.hill:after{content:'';position:absolute;left:0;right:0;bottom:0;border-top:1px solid currentColor;opacity:.8}
.hill-height{position:absolute;top:6px;left:var(--rule);transform:translateX(-50%);font:600 14px/1 var(--display);letter-spacing:0;white-space:nowrap;color:var(--ink)}
/* How far the summit sits from the right edge of each drawing. */
.hill-arthurs-seat{--from-right:.192}
.hill-goatfell{--from-right:.502}
.hill-ben-nevis{--from-right:.329}

/* Laptop: the three drawings share one row and one baseline, each over its own plan. */
@media(min-width:861px){
.plans-hills .hill{grid-row:1;align-self:end;--img:calc(100% - var(--hill-gap))}
.plans-hills.is-aligned .plan{grid-row:2/span 7}
.plans-hills .hill-1,.plans-hills .plan-1{grid-column:1}
.plans-hills .hill-2,.plans-hills .plan-2{grid-column:2}
.plans-hills .hill-3,.plans-hills .plan-3{grid-column:3}
}
/* Tablet and phone: each drawing sits above its own plan card, on a baseline as wide as the card. */
@media(max-width:860px){
.plans-hills .plan+.hill{margin-top:22px}
}

/* What each plan includes: the owner's table, one row per line. */
.plan-package ul.plan-rows{gap:0;margin-top:11px}
.plan-rows li{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:8px 0;border-top:1px solid #465147}
.plan-rows li:first-child{border-top:0}
.plan-rows li:before{content:none}
.plan-rows li>span{min-width:0}
.plan-rows li small{font-size:11px;color:var(--muted);white-space:nowrap}
.plan-rows li>b{flex:none;max-width:47%;text-align:right;font-weight:600;color:var(--ink)}
.plan-rows li.is-no>span,.plan-rows li.is-no>b{color:#98a59b;font-weight:400}
.plan-rows li.is-extra>b{color:var(--amber-light)}

/* One set of footnotes under the plans. */
.plans-footnotes{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:5px;font-size:13px;line-height:1.6;color:var(--muted);max-width:92ch}
.plans-footnotes li{display:grid;grid-template-columns:1.3em minmax(0,1fr)}
.plans-footnotes li>span{color:var(--amber-light)}
.plans-footnotes+.plans-note{margin-top:16px}
@media(max-width:700px){
.hill{--hill-gap:54px;--rule-gap:27px}
.plans-footnotes{font-size:12px;margin-top:22px}
}

/* "Plans" links land on #packages (owner brief 28 November 2026, round 2). The margin leaves the
   section heading just below the sticky header, which is 80 px tall (72 px at 1000 px and below),
   allowing for the section's own top padding (66 px, 44 px on phones). */
#packages{scroll-margin-top:30px}
@media(max-width:1000px){#packages{scroll-margin-top:22px}}
@media(max-width:700px){#packages{scroll-margin-top:44px}}
