/* The landing: the first screen of every visit. Boston on the eve of 2025, the line, one way in (the 2025 plan), and the scroll
   that unfolds it into the planner: the photograph shrinks into the hero, the line shrinks into the header, the page rises. */
/* the landing is the top of the page: the document keeps its scrollbar throughout (so nothing ever shifts sideways); while the
   camera is out the wheel drives the camera instead of the document */
html.ld-on #page { opacity: 0; }
#landing {
  --l-ink: #120a0b; --l-paper: #f5ecdf; --l-paper2: #e2d4c1; --l-paper3: #bfae99; --l-amber: #f0a468; --l-amber-hi: #f8cf9f;
  --l-line: rgba(245,236,223,.32); --l-line-soft: rgba(245,236,223,.15);
  --l-charge: #f2b07c; --l-empty: rgba(245,236,223,.42); --l-stroke: 0px; --l-casing: transparent; --l-tone: #f4d6b8;
  --ld-edge: clamp(28px, 3.4vw, 64px);   /* the landing's header and line sit at the window's edges */
  --l-sheet: #fbf4e8; --l-sheet-ink: #1b1916; --l-sheet-ink2: #5a5148; --l-rule: rgba(30,107,78,.16); --l-rule2: rgba(30,107,78,.34); --l-hire: #2b5a86; --l-margin: rgba(158,47,31,.5);
  position: fixed; inset: 0; z-index: 60; color: var(--l-paper); font: 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased;
}
:root[data-theme="night"] #landing {
  --l-amber: #e0b65a; --l-amber-hi: #f0d38f; --l-charge: #ffffff; --l-empty: transparent; --l-stroke: 1.4px; --l-casing: #ffffff; --l-tone: #efdcb4;
  --l-sheet: #1e1a17; --l-sheet-ink: #f1ece3; --l-sheet-ink2: #b9afa3; --l-rule: rgba(91,195,154,.14); --l-rule2: rgba(91,195,154,.3); --l-hire: #7faedd; --l-margin: rgba(240,130,106,.4);
}
#landing[hidden] { display: none; }
#landing :focus-visible { outline: 2px solid var(--l-amber-hi); outline-offset: 3px; }
#landing .ld-bg { position: absolute; inset: 0; background: var(--l-ink); }
/* the ground the page stands on, as the camera pulls back: the page's own dusk-to-tint under the photograph */
/* the ground: the planner's own page background, exactly (so the last frame of the move is the planner's first screen) */
/* the ground: the page's own one gradient, exactly, so the last frame of the move is the planner's first screen */
#landing .ld-ground { position: absolute; inset: 0; opacity: 0; background-color: var(--tint);
  background-image: linear-gradient(180deg, var(--pg1) 0, var(--pg2) 300px, var(--pg3) 540px, var(--pg4) 780px, var(--pg5) 990px, var(--tint) 1160px);
  background-size: 100% 1160px; background-position: top; background-repeat: no-repeat; }

/* the photograph: the same image, crop and fade as the hero's, so it can become the hero */
/* laid out (by landing.js) at its exact cover rect and never re-laid during the move: the move only zooms it */
#landing .ld-photo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #2a1a24;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 240px), rgba(0,0,0,.55) calc(100% - 110px), transparent 100%);
          mask-image: linear-gradient(#000 calc(100% - 240px), rgba(0,0,0,.55) calc(100% - 110px), transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }   /* the hero's own frame and fade */
/* the image's exact cover rect, in pure CSS so it follows every resize of the window (or of the frame the page sits in) */
#landing .ld-photo img { position: absolute; --iw: max(100vw, calc(100vh * 1916 / 821)); --ih: max(100vh, calc(100vw * 821 / 1916));
  width: var(--iw); height: var(--ih); left: calc((100vw - var(--iw)) * .5); top: calc((100vh - var(--ih)) * .66); transition: opacity .8s var(--ease); }
/* a host page's reset (img { max-width: 100%; height: auto }) must not shrink the photographs: they are wider than the window on purpose */
#landing img { max-width: none !important; max-height: none !important; }
#landing .ld-photo .night { opacity: 0; }
:root[data-theme="night"] #landing .ld-photo .night { opacity: 1; }
#landing .ld-scrim, #landing .ld-hscrim { position: absolute; inset: 0; pointer-events: none; }
#landing .ld-scrim { background: linear-gradient(90deg, rgba(10,8,16,.42) 0%, rgba(10,8,16,.1) 40%, transparent 60%), linear-gradient(180deg, rgba(14,8,9,.45) 0%, rgba(14,8,9,0) 24%, rgba(14,8,9,0) 62%, rgba(14,8,9,.5) 82%, rgba(14,8,9,.85) 100%); }
#landing .ld-hscrim { opacity: 0; background: linear-gradient(90deg, rgba(10,8,16,.5) 0%, rgba(10,8,16,.12) 42%, transparent 60%), linear-gradient(180deg, rgba(10,8,16,.35) 0%, transparent 22%); }
#landing .ld-terry { position: absolute; inset: 0; pointer-events: none; }
.ld-terry-top { position: fixed; inset: 0; z-index: 63; pointer-events: none; }
html:not(.ld-on) .ld-terry-top { visibility: hidden; }
html.op-run .ld-terry-top { opacity: 0; }

/* the header: the planner's own brand row, in the same place */
#landing .ld-nav { position: absolute; left: var(--ld-edge); right: var(--ld-edge); top: var(--ld-t, 22px); height: 36px; z-index: 8; display: flex; align-items: center; justify-content: space-between; color: #fff; }
#landing .ld-brand { display: flex; align-items: center; gap: 10px; }
#landing .ld-brand svg.i { width: 26px; height: 26px; stroke: none; fill: currentColor; }
#landing .ld-brand .nm { font: 400 27px/1 "Caveat Brush", var(--display); font-variant-ligatures: none; white-space: nowrap; }
#landing .ld-brand svg.i { transform: translateY(1.9px); }   /* the bat on the middle of the B */
#landing .ld-brand .sub { font-size: 12.5px; opacity: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.4); }   /* the planner's tagline, as it sits there */
#landing .ld-navr { display: flex; align-items: center; gap: 24px; }
#landing .ld-link { position: relative; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 500 13px var(--ui); color: #fff; }
#landing .ld-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
#landing .ld-link:hover::after, #landing .ld-link[aria-expanded="true"]::after { transform: scaleX(1); }
#landing .ld-link[aria-expanded="true"] { color: var(--l-amber-hi); }

/* the line, and the one way in */
#landing .ld-sky { position: absolute; left: var(--ld-edge); top: clamp(120px, 19vh, 190px); z-index: 2; max-width: 960px; }
#landing .ld-line { margin: 0; font: 400 clamp(46px, 5vw, 76px)/1.04 var(--display); letter-spacing: -.02em; color: var(--l-paper); text-shadow: 0 2px 24px rgba(10,5,6,.45); transform-origin: 0 0; }
#landing .ld-line em { font-style: italic; }
#landing .ld-line .tn { color: var(--l-tone); }
/* the battery: a casing, charged to 80% of the letters' body */
#landing .ld-line .batt { color: transparent; text-shadow: none; -webkit-text-stroke: var(--l-stroke) var(--l-casing); paint-order: stroke fill; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 14px rgba(10,5,6,.45)); padding: 0 .04em; margin: 0 -.04em;
  /* by day: warm amber charge rising in pale letters, no outline; by night: white charge in a white casing */
  background-image: linear-gradient(var(--l-charge), var(--l-charge)), linear-gradient(var(--l-empty), var(--l-empty)); background-repeat: no-repeat; background-position: 0 100%, 0 0; background-size: 100% 12%, 100% 100%; transition: background-size 2.4s var(--ease); }
#landing.ld-in .ld-line .batt { background-size: 100% 66%, 100% 100%; }
#landing .ld-see { display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font: 600 13.5px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--l-paper); text-shadow: 0 1px 10px rgba(10,5,6,.7); }
#landing .ld-see .rule { width: 44px; height: 1px; background: var(--l-amber-hi); transition: width .6s var(--ease); }
#landing .ld-see .yr { margin-left: -6px; font: italic 400 22px/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--l-paper); }
:root[data-theme="night"] #landing .ld-see .yr { color: var(--l-amber-hi); }
#landing .ld-see:hover .rule, #landing .ld-see:focus-visible .rule { width: 84px; }
#landing .ld-see:hover { color: #fff; }
/* the first action: a quiet glass pill, warm white when you reach for it */
#landing .ld-see { gap: 12px; margin-top: 30px; padding: 12px 20px 12px 22px; border-radius: 999px; letter-spacing: .16em; text-shadow: none;
  background: rgba(255,246,234,.09); border: 1px solid rgba(255,246,234,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(10,5,6,.22); transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
#landing .ld-see .rule { display: none; }
#landing .ld-see::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); transition: transform .35s var(--ease); }
#landing .ld-see:hover, #landing .ld-see:focus-visible { background: rgba(255,246,234,.94); border-color: rgba(255,246,234,.94); color: #1c1314; box-shadow: 0 12px 34px rgba(10,5,6,.3); }
#landing .ld-see:hover .yr, #landing .ld-see:focus-visible .yr { color: #1c1314; }
#landing .ld-see:hover::after, #landing .ld-see:focus-visible::after { transform: translateX(3px) rotate(45deg); }

/* Terry's fact: only for whoever goes to him */
#landing .ld-hit { position: absolute; z-index: 3; width: 230px; height: 120px; margin: -60px 0 0 -115px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
#landing .ld-cap { position: absolute; z-index: 3; width: 290px; margin-left: -145px; text-align: center; pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
#landing .ld-cap.on { opacity: 1; transform: none; }
#landing .ld-cap .k { display: block; margin-bottom: 4px; font: italic 400 14px var(--display); color: var(--l-amber-hi); text-shadow: 0 1px 10px rgba(10,5,6,.9); }
#landing .ld-cap .f { font: 400 16.5px/1.42 var(--display); text-shadow: 0 1px 14px rgba(10,5,6,.95), 0 0 2px rgba(10,5,6,.6); }

/* the eve of 2025: a dateline, the situation, the year ahead */
#landing .ld-eve { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; width: min(600px, calc(100vw - 96px)); margin: 0 auto; text-align: center; text-shadow: 0 1px 12px rgba(10,5,6,.85); }
#landing .ld-date { font: 600 11px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--l-amber-hi); }
#landing .ld-sit { margin: 10px 0 0; font: italic 400 22px/1.3 var(--display); color: var(--l-paper); white-space: nowrap; }
#landing .ld-year { position: relative; height: 34px; margin: 24px 0 0; }
#landing .ld-year::before { content: ""; position: absolute; left: calc(100% / 26); right: calc(100% / 26); top: 4px; height: 1px; background: rgba(245,236,223,.22); }
#landing .ld-year span { position: absolute; top: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: rgba(245,236,223,.38); }
#landing .ld-year span i { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font: 500 10px var(--ui); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,236,223,.55); white-space: nowrap; transition: color .6s var(--ease); }
#landing .ld-year span.here i { color: var(--l-amber-hi); }
#landing .ld-now { position: absolute; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--l-amber); box-shadow: 0 0 0 4px rgba(240,164,104,.2); transition: left .7s var(--ease); }
#landing .ld-go { margin-top: 8px; padding: 6px 10px; background: none; border: 0; cursor: pointer; font: 600 10.5px var(--ui); letter-spacing: .22em; text-transform: uppercase; color: rgba(245,236,223,.7); }
#landing .ld-go:hover { color: #fff; }

/* the sheets under the header */
#landing .ld-sheet { position: absolute; right: var(--ld-edge); top: 74px; z-index: 9; width: 400px; max-height: calc(100vh - 140px); overflow: auto; padding: 26px 28px 22px;
  background: rgba(20,11,12,.97); border: 1px solid var(--l-line); border-top: 2px solid var(--l-amber); border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
#landing .ld-sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
#landing .ld-sheet.wide { width: 540px; }
#landing .ld-sheet h2 { margin: 0 0 10px; font: 500 25px/1.15 var(--display); }
#landing .ld-sheet p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--l-paper2); }
#landing .ld-close { position: absolute; top: 16px; right: 18px; padding: 0 0 1px; background: none; border: 0; border-bottom: 1px solid var(--l-line-soft); cursor: pointer; font: 12px var(--ui); color: var(--l-paper3); }
#landing .ld-close:hover { color: var(--l-paper); }
#landing .ld-eyebrow { margin: 16px 0 8px; font: 600 10.5px var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--l-paper3); }
#landing .ld-idx { display: flex; align-items: baseline; margin: 18px 0 0; padding-bottom: 2px; border-bottom: 1px solid var(--l-line-soft); }
#landing .ld-pill { position: relative; padding: 2px 0 12px; background: none; border: 0; cursor: pointer; font: italic 400 18px var(--display); color: var(--l-paper2); transition: color .3s var(--ease); }
#landing .ld-pill + .ld-pill { margin-left: 34px; }
#landing .ld-pill + .ld-pill::before { content: "\00B7"; position: absolute; left: -19px; top: 2px; font-style: normal; color: var(--l-paper3); }
#landing .ld-pill:hover { color: var(--l-amber-hi); }
#landing .ld-pill[aria-expanded="true"] { font-style: normal; font-weight: 500; color: var(--l-paper); }
#landing .ld-pill[aria-expanded="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--l-amber); }
#landing .ld-reveal { overflow: hidden; transition: height .7s var(--ease); }
#landing .ld-panel { display: none; opacity: 0; transition: opacity .6s var(--ease) .1s; }
#landing .ld-panel.on { display: block; } #landing .ld-panel.show { opacity: 1; }
#landing .ld-panel ol { list-style: none; margin: 0; padding: 6px 0 0; counter-reset: n; }
#landing .ld-panel li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; padding: 11px 0; border-bottom: 1px solid var(--l-line-soft); font-size: 14.5px; line-height: 1.55; color: var(--l-paper2); }
#landing .ld-panel li:last-child { border-bottom: 0; }
#landing .ld-panel li::before { content: counter(n, decimal-leading-zero); padding-top: 2px; font: italic 13px var(--display); color: var(--l-amber-hi); }
#landing .ld-panel strong { color: var(--l-paper); font-weight: 600; }
#landing .ld-lead { margin-bottom: 6px !important; font: 400 17px/1.5 var(--display) !important; color: var(--l-paper) !important; }
#landing .ld-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--l-line); }
#landing .ld-path li { padding: 12px 14px 4px 0; font-size: 13px; line-height: 1.45; color: var(--l-paper2); }
#landing .ld-path li + li { padding-left: 14px; border-left: 1px solid var(--l-line-soft); }
#landing .ld-path b { display: block; margin-bottom: 3px; font: 500 15.5px/1.2 var(--display); color: var(--l-paper); }
#landing .ld-path i { display: block; margin-bottom: 6px; font: italic 12px var(--display); color: var(--l-amber-hi); }
#landing .ld-figs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--l-line); }
#landing .ld-figs div { padding: 12px 14px 2px 0; }
#landing .ld-figs div + div { padding-left: 14px; border-left: 1px solid var(--l-line-soft); }
#landing .ld-figs b { display: block; font: 400 27px/1.05 var(--display); font-variant-numeric: lining-nums; color: var(--l-paper); }
#landing .ld-figs span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: var(--l-paper3); }
#landing .ld-depts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--l-line); }
#landing .ld-depts li { padding: 9px 14px 8px 0; border-bottom: 1px solid var(--l-line-soft); font-size: 12.5px; line-height: 1.35; color: var(--l-paper3); }
#landing .ld-depts li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--l-line-soft); }
#landing .ld-depts li:nth-last-child(-n+2) { border-bottom: 0; }
#landing .ld-depts b { display: block; font: 500 15px/1.3 var(--display); color: var(--l-paper); }
#landing .ld-src { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--l-line-soft); font-size: 12px !important; color: var(--l-paper3) !important; }
#landing .ld-src a { color: var(--l-paper2); }
#landing .ld-crew { list-style: none; margin: 6px 0 0; padding: 0; }
#landing .ld-crew li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 12px 0; border-top: 1px solid var(--l-line-soft); }
#landing .ld-crew .role { font: 500 18px/1.2 var(--display); } #landing .ld-crew .scope { grid-column: 1; margin-top: 3px; font-size: 12.5px; color: var(--l-paper2); }
#landing .ld-crew .who { grid-row: 1; grid-column: 2; text-align: right; font-size: 13px; } #landing .ld-crew a { color: var(--l-amber-hi); text-decoration: none; border-bottom: 1px solid rgba(248,207,159,.45); }

/* the 2025 plan, opened over the landing */
#landing .ld-plan { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(10,6,7,.6); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
#landing .ld-plan.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
#landing .ld-ledger { position: relative; overscroll-behavior: contain; width: min(1180px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 30px 34px 26px 70px; background: var(--l-sheet); color: var(--l-sheet-ink); border-radius: 2px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); transform: translateY(16px); transition: transform .6s var(--ease); }
#landing .ld-plan.open .ld-ledger { transform: none; }
#landing .ld-ledger::before { content: ""; position: absolute; top: 0; bottom: 0; left: 42px; width: 5px; border-left: 1px solid var(--l-margin); border-right: 1px solid var(--l-margin); }
#landing .ld-ledger h2 { margin: 0; padding-right: 96px; font: 400 28px/1.1 var(--display); }
#landing .ld-ledger .sub { margin: 6px 0 18px; max-width: 70ch; font-size: 13px; color: var(--l-sheet-ink2); }
#landing .ld-x { position: absolute; top: 18px; right: 20px; height: 32px; padding: 0 14px; border: 1px solid var(--l-rule2); border-radius: 16px; background: none; color: var(--l-sheet-ink); font: 600 12px var(--ui); cursor: pointer; }
#landing .ld-lt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#landing .ld-lt th, #landing .ld-lt td { padding: 10px 4px 9px; text-align: center; border-bottom: 1px solid var(--l-rule); vertical-align: top; }
#landing .ld-lt thead th { font: 600 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--l-sheet-ink2); border-bottom: 1px solid var(--l-rule2); }
#landing .ld-lt th.d { text-align: left; padding-left: 0; font: 400 15px/1.2 var(--display); white-space: nowrap; }
#landing .ld-lt thead th.d { font: 600 10.5px/1 var(--display); }
#landing .ld-lt td b { display: block; font: 500 15px/1.15 var(--ui); }
#landing .ld-lt td i { display: inline-block; margin-top: 4px; padding: 2px 4px 1px; border: 1.25px solid currentColor; border-radius: 2px; font: 700 10.5px/1 var(--ui); font-style: normal; color: var(--l-hire); transform: rotate(-3deg); }
#landing .ld-lt .n { text-align: right; white-space: nowrap; padding-left: 12px; font: 500 14px/1.15 var(--ui); }
#landing .ld-lt td.n + td.n, #landing .ld-lt th.n + th.n { border-left: 1px solid var(--l-rule2); }
#landing .ld-lt tfoot th, #landing .ld-lt tfoot td { border-top: 3px double var(--l-rule2); border-bottom: 0; padding-top: 11px; }
#landing .ld-lt tfoot th.d { font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--l-sheet-ink2); }
#landing .ld-lt tfoot td b, #landing .ld-lt tfoot .n { font-weight: 600; }
#landing .ld-ltline { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--l-rule); font-size: 14px; line-height: 1.5; color: var(--l-sheet-ink2); } #landing .ld-ltline b { color: var(--l-sheet-ink); }

/* arrival: after the opening hands over (or at once on a return visit), the rest comes up in order */
#landing .ld-a { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
#landing.ld-in .ld-a { opacity: 1; transform: none; }
#landing.ld-in .ld-a2 { transition-delay: .12s; } #landing.ld-in .ld-a3 { transition-delay: .3s; }
html.op-run:not(.op-land) #landing .ld-brand { opacity: 0; }
/* while the opening plays, the page under it stays dark */
html.op-run #landing .ld-terry { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  #landing *, #landing *::before, #landing *::after { transition: none !important; animation: none !important; }
}

/* smaller screens: the header stays on one line */
@media (max-width: 1000px) {
  #landing .ld-brand .sub { display: none; }
  #landing .ld-brand .nm, #landing .ld-link { white-space: nowrap; }
}
/* phones: the header takes two rows (brand and theme, then the three tabs), the line wraps, the plan sheet narrows */
@media (max-width: 640px) {
  #landing .ld-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; height: auto; }
  #landing .ld-navr { display: contents; }
  #landing .ld-brand { grid-column: 1 / 3; grid-row: 1; }
  #landing .ld-brand .sub { display: none; }
  #landing .ld-navr .seg { grid-column: 3; grid-row: 1; justify-self: end; }
  #landing .ld-link { grid-row: 2; white-space: nowrap; font-size: 12.5px; justify-self: center; }
  #landing .ld-link:first-of-type { justify-self: start; }
  #landing .ld-link:nth-of-type(3) { justify-self: end; }
  #landing .ld-sky { top: clamp(150px, 21vh, 190px); right: var(--ld-edge); }
  #landing .ld-line { font-size: clamp(36px, 10.5vw, 46px); }
  #landing .ld-eve { width: calc(100vw - 2 * var(--ld-edge)); bottom: 40px; }
  #landing .ld-sit { white-space: normal; font-size: 19px; }
  #landing .ld-year span i { display: none; }
  #landing .ld-year span:nth-of-type(3n+2) i { display: block; }
  #landing .ld-plan { padding: 10px; }
  #landing .ld-ledger { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 22px 16px 20px 30px; }
  #landing .ld-ledger::before { left: 14px; }
  #landing .ld-ledger h2 { font-size: 24px; }
  #landing .ld-x { top: 14px; right: 12px; }
}
/* phones on their side: the line sits under the headline instead of over it */
@media (max-height: 500px) and (max-width: 1000px) {
  #landing .ld-sky { top: 84px; }
  #landing .ld-line { font-size: clamp(30px, 7vh, 40px); }
  #landing .ld-see { margin-top: 14px; padding: 9px 16px 9px 18px; }
  #landing .ld-eve { bottom: 14px; }
  #landing .ld-date, #landing .ld-year { display: none; }
  #landing .ld-sit { font-size: 17px; }
  #landing .ld-go { margin-top: 2px; }
}
/* phones and small tablets: only the table scrolls sideways, the title and the department names stay in place */
@media (max-width: 1000px) {
  #landing .ld-ledger { overflow-x: hidden; }
  #landing .ld-ledger .ld-lt { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  #landing .ld-lt tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--l-sheet); box-shadow: 8px 0 8px -8px rgba(0,0,0,.22); }
}
