/* The Evening Unfolds (beautiful-1105, lane hub).
   The opening of an-evening-in-the-land (hero and the three paragraphs of the letter) is one printed
   sheet. Open is the default for everyone: no script, reduced motion, reload, return visit, keyboard.
   The folded start exists only when the head script marks html.fold-pre and evening-fold.js arms it.
   CSS 3D and transforms only. No words, images or fonts are added here. */

.fold{
  --paper:#fcfbf7;
  --ink:#1d1d1f;
  --ink-2:#515156;
  --serif:ui-serif,"New York","Iowan Old Style",Georgia,serif;
  --shadow:0 0 0 .5px rgba(60,48,20,.13),0 1px 2px rgba(0,0,0,.08),0 6px 14px -4px rgba(0,0,0,.12),0 22px 38px -14px rgba(0,0,0,.20),0 44px 70px -30px rgba(0,0,0,.22);
  position:relative;z-index:1;max-width:632px;margin:0 auto;padding:12px 16px 28px;
}
.fold-persp{position:relative}
.fold-drop{display:none}

/* ---- the sheet, open (default) ---- */
.fold-a{position:relative;background:var(--paper);border-radius:3px;box-shadow:var(--shadow);color:var(--ink)}
.fold-face{position:relative;background:var(--paper);padding:30px 30px 32px;font:17px/1.62 var(--serif);color:#2c2c30}
.fold-face p{margin:0 0 18px;color:inherit}
.fold-face p:last-child{margin-bottom:0}
.fold-b>.fold-face p:first-child::first-letter{font-family:var(--serif);font-size:3.5rem;line-height:.8;float:left;margin:8px 12px 0 0;color:#0066cc;font-weight:600}
/* the creases remember the folding: one hairline and a soft shade under it */
.fold-face::before{content:"";position:absolute;left:0;right:0;top:0;height:26px;background:linear-gradient(rgba(70,55,20,.075),rgba(70,55,20,0));border-top:1px solid rgba(70,55,20,.10);pointer-events:none}
.fold-shade{position:absolute;inset:0;pointer-events:none;opacity:0;background:linear-gradient(180deg,rgba(26,20,8,.26),rgba(26,20,8,.07) 50%,rgba(26,20,8,0) 90%)}

html body.unified-article main .fold .hero{
  background:transparent!important;min-height:0;padding:50px 30px 38px;text-align:left;position:relative;overflow:visible;align-items:flex-start;justify-content:flex-start;
}
html body.unified-article main .fold .hero h1{
  font-family:var(--serif);font-weight:600;font-size:clamp(38px,11.2vw,54px);line-height:1.04;letter-spacing:-.022em;
  max-width:none;margin:0 0 22px;color:var(--ink)!important;
}
html body.unified-article main .fold .hero p{
  font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.5;max-width:none;margin:0 0 20px;color:var(--ink-2)!important;
}
html body.unified-article main .fold .hero p:nth-of-type(2){
  font-style:normal!important;font-size:12px!important;letter-spacing:.16em!important;margin:0 0 26px!important;color:#7a7a82!important;
}
html body.unified-article main .fold .hero .cta{margin:0;animation:none!important;opacity:1!important;transform:none!important}
html body.unified-article main .fold .hero .btn{display:inline-flex;align-items:center;min-height:46px}

@media (min-width:600px){
  .fold-face{padding:38px 44px 40px;font-size:18px}
  html body.unified-article main .fold .hero{padding:64px 44px 46px}
}

/* ---- before the script arms it: nothing flashes, and a dead script still ends open ---- */
html.fold-pre .fold:not(.fold-live){visibility:hidden;animation:fold-fallback 0s linear 2.6s forwards}
@keyframes fold-fallback{to{visibility:visible}}

/* ---- armed: folded on first meeting ---- */
.fold-armed{min-height:var(--fold-h,640px);box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.fold-armed .fold-persp{perspective:1500px;perspective-origin:50% 22%}
.fold-armed .fold-sheet{transform-style:preserve-3d;transform-origin:50% 0;will-change:transform}
.fold-armed .fold-a{transform-style:preserve-3d;box-shadow:none}
.fold-armed .fold-drop{display:block;position:absolute;top:12px;left:16px;right:16px;border-radius:3px;box-shadow:var(--shadow);transform-origin:50% 0;pointer-events:none;will-change:transform}
.fold-armed .fold-panel{
  position:absolute;top:100%;left:0;right:0;transform-origin:50% 0;transform-style:preserve-3d;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;visibility:hidden;will-change:transform;
}
.fold-armed .fold-panel>.fold-face{backface-visibility:hidden;-webkit-backface-visibility:hidden}
/* stacked edges of the folded layers under the cover, fading as the first panel lifts */
.fold-armed .fold-a::after{content:"";position:absolute;left:1px;right:1px;bottom:-5px;height:5px;border-radius:0 0 3px 3px;
  background:linear-gradient(#ecebe6 0 1.6px,#fbfaf7 1.6px 2.4px,#e3e1da 2.4px 4px,#f7f6f2 4px);
  box-shadow:0 .5px 0 rgba(0,0,0,.10);opacity:var(--lip,1);pointer-events:none}
/* the bend at the crease the cover turns on */
.fold-armed .fold-a .hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34px;border-radius:0 0 3px 3px;
  background:linear-gradient(rgba(70,55,20,0),rgba(70,55,20,.085) 70%,rgba(70,55,20,.15));opacity:var(--lip,1);pointer-events:none}
.fold-armed .fold-a .hero a{pointer-events:none}

.fold-grip{
  /* pan-y: a finger moving up scrolls the page. Pulling down is taken over by evening-fold.js (iOS has no directional touch-action). */
  position:absolute;z-index:3;left:0;top:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:3px;background:transparent;
  cursor:grab;touch-action:pan-y;-webkit-tap-highlight-color:transparent;transform:translateZ(2px);
}
.fold-grip:active{cursor:grabbing}
.fold-grip:focus-visible{outline:3px solid #0071e3;outline-offset:4px}

@media (prefers-reduced-motion:reduce){
  html.fold-pre .fold:not(.fold-live){visibility:visible;animation:none}
}

/* hub-1109: 44 px touch areas for the links in the list of stops and the lines under the form. Same look, same layout: the reach is an invisible layer around each link (the underline stays under the words). */
html body.unified-article main :is(.stop h4 a,.form .priv + .priv a){position:relative}
html body.unified-article main .stop h4 a::after{content:"";position:absolute;inset:-10px -4px}
html body.unified-article main .form .priv + .priv a::after{content:"";position:absolute;inset:-15px -4px}
