/* Site chrome: navigation and the non-deck pages. The deck's own look lives in deck.css. */

.nav{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
 padding:16px clamp(18px,5vw,54px);background:var(--cream);
 border-bottom:1px solid rgba(53,122,90,.18)}
/* The wordmark was wrapping onto two lines, so the logo centred against a two-line
   stack and looked misaligned. Keep it on one line and let the mark carry more weight. */
.brand{display:inline-flex;align-items:center;gap:13px;
 font-family:var(--serif);font-weight:700;font-size:25px;color:var(--ink);
 text-decoration:none;letter-spacing:-.015em;line-height:1;white-space:nowrap}
.brand>span{white-space:nowrap}
.brand .amp{color:var(--rose);font-weight:600}
.logomark{display:block;width:42px;height:42px;flex:0 0 auto;border-radius:9px}
@media (max-width:600px){.brand{font-size:20px;gap:10px}.logomark{width:34px;height:34px;border-radius:7px}}
@media (max-width:380px){.brand{font-size:17px}.logomark{width:29px;height:29px}}
.navlinks{display:flex;gap:6px;flex-wrap:wrap}
.navlinks a{font-size:14px;color:var(--body);text-decoration:none;padding:7px 14px;border-radius:999px;
 border:1px solid transparent;transition:background .15s,border-color .15s}
.navlinks a:hover{background:var(--sage-soft)}
.navlinks a.here{background:var(--sage);color:#fff}
/* Watch & read on a computer, More on a phone. On a phone Planner and About move
   inside the menu too, so the nav is four items and stays on one line. */
.navlinks{align-items:center}
.navmore{position:relative}
.navmore summary{list-style:none;cursor:pointer;font-size:14px;color:var(--body);padding:7px 14px;
 border-radius:999px;border:1px solid transparent;user-select:none;white-space:nowrap}
.navmore summary::-webkit-details-marker{display:none}
.navmore summary::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;
 border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.navmore[open] summary::after{transform:translateY(0) rotate(-135deg)}
.navmore summary:hover{background:var(--sage-soft)}
.navmore summary.here{background:var(--sage);color:#fff}
.navmore .menu{position:absolute;right:0;top:calc(100% + 8px);z-index:90;min-width:190px;background:#fff;
 border-radius:16px;padding:8px;box-shadow:0 14px 34px rgba(30,36,33,.16);border:1px solid rgba(53,122,90,.14);
 display:flex;flex-direction:column;gap:2px}
.navmore .menu a{border-radius:10px;padding:10px 12px}
.navlinks .narrow,.navmore .ln{display:none}
@media (max-width:600px){
 .navlinks .wide,.navmore .lw{display:none}
 .navmore .menu .narrow{display:block}
 .navmore .ln{display:inline}
 .navlinks{flex-wrap:nowrap;gap:2px}
 .navlinks a,.navmore summary{padding:7px 11px}
}

/* Generic page shell for newsletter / watch / about */
.page{max-width:660px;margin:0 auto;padding:clamp(32px,7vw,72px) clamp(18px,5vw,24px) 90px}
.page h1{font-family:var(--serif);font-size:clamp(32px,6vw,46px);line-height:1.08;
 color:var(--ink);letter-spacing:-.02em;margin:0 0 18px}
.page h2{font-family:var(--serif);font-size:23px;color:var(--ink);margin:44px 0 12px}
.page p{font-size:17px;line-height:1.62;margin:0 0 18px;color:var(--body)}
.page .lede{font-size:17px;line-height:1.62;color:var(--ink)}
/* the small label above a page title matches every other page, whatever the paragraph size */
.page .eyebrow{font-size:13px;line-height:1.4;margin:0 0 8px;color:var(--sage)}
.page ul{margin:0 0 18px;padding-left:20px;color:var(--body);font-size:17px;line-height:1.62}
.page li{margin-bottom:9px}
.page a{color:var(--sage);text-decoration:underline;text-underline-offset:3px}

/* .page a sets a link colour and outranks .cta, which painted the button's label the
   same rose as its own background and made it vanish. Name both to win the match. */
.page a.cta,.cta{display:inline-block;background:var(--sage);color:#fff;text-decoration:none;
 font-weight:700;font-size:16px;padding:14px 26px;border-radius:0 22px 22px 22px;margin:6px 10px 6px 0}
.cta:hover{background:#357A5A}
/* Secondary action: same family, different weight. A second hue here read as a clash. */
.page a.cta.alt,.cta.alt{background:transparent;color:var(--sage);
 box-shadow:inset 0 0 0 2px var(--sage)}
.page a.cta.alt:hover,.cta.alt:hover{background:var(--sage-soft);color:var(--ink)}

.postlist{list-style:none;padding:0;margin:0}
.postlist li{padding:18px 0;border-bottom:1px solid rgba(53,122,90,.16)}
.postlist a{font-family:var(--serif);font-size:19px;color:var(--ink);
 text-decoration:none;display:block;margin-bottom:5px}
.postlist a:hover{color:var(--sage)}
.postlist span{font-size:15px;color:var(--body)}

.sitefoot{border-top:1px solid rgba(53,122,90,.18);padding:34px clamp(18px,5vw,54px);
 font-size:14px;color:var(--body);text-align:center;background:var(--cream)}
.sitefoot a{color:var(--sage)}

/* Section jump bar: get to any of the six decks without scrolling past a hundred cards. */
.secbar{position:sticky;top:0;z-index:30;display:flex;gap:6px;align-items:center;
 overflow-x:auto;scrollbar-width:none;background:rgba(255,255,255,.96);
 backdrop-filter:blur(8px);padding:9px clamp(14px,5vw,54px);
 border-bottom:1px solid rgba(53,122,90,.18)}
.secbar::-webkit-scrollbar{display:none}
.secbar button{flex:0 0 auto;font:inherit;font-size:13.5px;color:var(--body);cursor:pointer;
 padding:7px 14px;border-radius:999px;border:1px solid rgba(53,122,90,.3);
 white-space:nowrap;transition:background .15s,color .15s}
.secbar button:hover{background:var(--sage-soft)}
.secbar button.on{background:var(--sage);color:#fff;border-color:var(--sage)}
.shelf-h{scroll-margin-top:64px}

/* Small print under a call to action, and the disclaimer at the foot of a page.
   Added for planner.html; reusable anywhere a line should sit quieter than body. */
.page .fineprint{font-size:14.5px;line-height:1.55;color:var(--muted,#5C6660);
 max-width:58ch;margin-top:-2px}

/* The company footer on every page: the links a funder, journalist or partner looks for. */
.cofoot{border-top:1px solid rgba(53,122,90,.18);margin-top:48px;padding:30px clamp(16px,5vw,54px) 38px;
 background:var(--cream);text-align:center;font-size:13.5px;color:var(--body)}
.cofoot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin:0 0 14px}
.cofoot-links a{color:var(--ink);font-weight:700;text-decoration:none}
.cofoot-links a:hover{color:var(--sage)}
.cofoot-links a:focus-visible{outline:3px solid var(--rose);outline-offset:2px;border-radius:4px}
.cofoot p{margin:0;line-height:1.6}
@media print{.cofoot{display:none}}
