/* Close By (close-by.info). The visual system is in DESIGN.md. */
:root {
  --navy: #1d2a83; --navy-ink: #141d63; --yellow: #f6e15a; --hl: #f6e15a; --coral: #e8553a; --mint: #8fd3b9;
  --ink: #15161a; --ink-2: #4a4c55; --paper: #ffffff; --wash: #f7f6f2; --line: #e3e1da; --pill: #fbf3b8;
  --link: var(--navy); --on-hl: #15161a;
  --head: "Archivo", "Arial Black", Arial, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1ea; --ink-2: #b9b8b2; --paper: #111218; --wash: #181a22; --line: #2c2e38; --pill: #3b3714;
    --link: #aab4ff; color-scheme: dark;
  }
  /* On a dark page the highlighter becomes a solid yellow block with dark type. */
  :root .hl { background: var(--yellow); color: #15161a; padding-inline: .06em; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #15161a; padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: navy top bar, then the white section nav with the underline bar under the label. */
.top { background: var(--navy); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 26px/1 var(--head); font-stretch: 88%; letter-spacing: -.01em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; }
.top-cta { font: 700 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 11px 16px; border-radius: 999px; background: var(--yellow); color: #15161a; }
.top-cta:hover { background: #fff; }
.subnav { background: var(--wash); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.subnav-in { display: flex; align-items: stretch; gap: clamp(18px, 3vw, 36px); overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav .label { font: 900 26px/1 var(--head); font-stretch: 88%; text-transform: uppercase; padding: 18px 0 14px; border-bottom: 6px solid var(--navy); white-space: nowrap; text-decoration: none; }
.subnav nav { display: flex; gap: clamp(16px, 2.6vw, 32px); align-items: center; }
.subnav nav a { font: 700 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 3px solid transparent; }
.subnav nav a:hover { border-color: var(--yellow); }
@media (prefers-color-scheme: dark) { .subnav .label { border-color: var(--link); } }

/* Type */
.hl { background: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 92%, transparent 92%); color: var(--on-hl); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mega { font: 900 clamp(40px, 7.2vw, 96px)/.9 var(--head); font-stretch: 86%; letter-spacing: -.025em; text-transform: uppercase; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
.sec-head { font: 800 clamp(26px, 3vw, 34px)/1.05 var(--head); font-stretch: 92%; letter-spacing: -.02em; margin: 0 0 28px; display: inline-block; }
.sec-head::after { content: ""; display: block; width: 92px; height: 7px; background: var(--navy); margin-top: 12px; }
@media (prefers-color-scheme: dark) { .sec-head::after { background: var(--link); } }
.sec-sub { margin: -14px 0 28px; color: var(--ink-2); max-width: 60ch; }
.kicker { font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pill { display: inline-block; background: var(--yellow); color: #15161a; font: 700 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.dek, .lede { font: 400 clamp(19px, 2vw, 23px)/1.45 var(--serif); color: var(--ink); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section + .section { border-top: 1px solid var(--line); }

/* Home: lead grid (one big story, three beside it). */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); padding-block: 28px 56px; }
.lead a { text-decoration: none; display: block; }
.lead .shot { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--pill); margin-bottom: 22px; }
.lead .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead a:hover .shot img { transform: scale(1.03); }
.lead .mega { font-size: clamp(38px, 5vw, 68px); }
.lead .dek { margin: 16px 0 6px; color: var(--ink-2); }
.meta { font: 600 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.side { display: grid; gap: 28px; align-content: start; }
.side a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; text-decoration: none; }
.side .shot { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pill); }
.side .shot img { width: 100%; height: 100%; object-fit: cover; }
.side h3, .card h3 { font: 800 clamp(21px, 2vw, 26px)/1.1 var(--head); font-stretch: 94%; letter-spacing: -.015em; margin: 0; }
.side a:hover h3, .card a:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--yellow); }

/* Home with no stories yet: the main-street poster. */
.poster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 32px clamp(48px, 6vw, 80px); }
.poster .lede { margin: 22px 0 26px; max-width: 34ch; }
.poster figure { margin: 0; border-radius: 12px; overflow: hidden; border-bottom: 10px solid var(--yellow); }
.poster figure img { width: 100%; }
.soon { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 0; padding: 0; list-style: none; }

/* Card grid */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.card a { text-decoration: none; display: block; }
.card .shot { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pill); margin-bottom: 16px; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.none { display: block; background: var(--navy) url("/img/awning.svg") center / 64% no-repeat; }
.card p { font: 400 17px/1.45 var(--serif); color: var(--ink-2); margin: 10px 0 8px; }

/* What we cover: chip tiles. */
.cover { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cover li { border: 2px solid var(--ink); border-radius: 14px; padding: 24px 22px 22px; background: var(--paper); }
.cover img { width: 52px; height: 52px; margin-bottom: 18px; }
.cover h3 { font: 800 22px/1.1 var(--head); font-stretch: 94%; margin: 0 0 8px; }
.cover p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { .cover li { border-color: var(--line); } .cover img { background: #f3f1ea; border-radius: 12px; padding: 6px; } }

/* How we work: the bordered box (after the ratings box in the inspiration). */
.box { border: 3px solid var(--ink); padding: clamp(22px, 3vw, 36px); max-width: 860px; }
.box h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--head); font-stretch: 92%; margin: 0 0 20px; }
.box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.box li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.box .pill { margin-top: 3px; min-width: 112px; text-align: center; }
.box p { margin: 0; }
@media (prefers-color-scheme: dark) { .box { border-color: var(--ink-2); } }

/* Sign-up band */
.signup-band { background: var(--navy); color: #fff; padding-block: clamp(44px, 6vw, 72px); }
.signup-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.signup-band h2 { font: 900 clamp(34px, 4.6vw, 56px)/.95 var(--head); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 12px; }
.signup-band p { margin: 0; color: #d9ddf6; }
.signup label { display: block; font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; min-width: 0; font: 400 17px var(--sans); padding: 14px 16px; border-radius: 999px; border: 2px solid #fff; background: #fff; color: #15161a; }
.signup button { font: 800 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 15px 24px; border-radius: 999px; border: 0; background: var(--yellow); color: #15161a; cursor: pointer; }
.signup button:hover { background: #fff; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { background: var(--navy-ink); color: #c9cdea; padding-block: 44px 52px; font-size: 15px; }
.foot .wrap > * { margin: 0 0 10px; }
.foot-brand { font: 900 30px/1 var(--head); font-stretch: 86%; text-transform: uppercase; color: #fff; margin-bottom: 18px !important; }
.foot a { color: #fff; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px !important; }
.foot-nav a { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; font-size: 13px; }
.buzzz { margin-top: 18px !important; }

/* Article */
.crumbs { font: 600 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); padding-block: 22px 40px; }
.art-head .mega { font-size: clamp(40px, 6vw, 80px); }
.art-head .dek { margin: 18px 0 26px; max-width: 40ch; }
.art-fig { margin: 0 0 8px; }
.art-fig img { width: 100%; border-radius: 10px; }
.art-fig figcaption { font: 600 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }
.byline-row { display: flex; align-items: center; gap: 14px; border-block: 1px solid var(--line); padding-block: 16px; margin: 22px 0 30px; }
.byline-row .mark { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: none; }
.byline-row .mark img { width: 28px; height: 28px; }
.byline { margin: 0; font: 700 15px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.byline a { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.byline + .meta { margin-top: 4px; }
.body { max-width: 700px; font-size: 18px; line-height: 1.68; }
.body p, .body ul, .body ol { margin: 0 0 1.1em; }
.body a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body h2 { font: 800 clamp(28px, 3vw, 36px)/1.08 var(--head); font-stretch: 92%; letter-spacing: -.02em; margin: 2.2em 0 .7em; padding-top: 1.1em; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.body h2::after { content: ""; display: block; width: 72px; height: 6px; background: var(--yellow); margin-top: 12px; }
.body h3 { font: 800 22px/1.2 var(--head); margin: 1.6em 0 .4em; }
.body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--yellow); font: 400 21px/1.5 var(--serif); }
.body img { border-radius: 8px; }
.body strong { font-weight: 700; }

/* Right column: "In this guide" (the place the inspiration puts its map). */
.guide-nav { position: sticky; top: 84px; align-self: start; background: var(--wash); border-radius: 12px; padding: 22px 22px 18px; }
.guide-nav h2 { font: 800 20px/1.1 var(--head); margin: 0 0 4px; }
.guide-nav .meta { margin: 0 0 16px; }
.guide-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.guide-nav a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; text-decoration: none; padding: 9px 6px; border-radius: 8px; font: 600 15px/1.35 var(--sans); }
.guide-nav a:hover { background: var(--paper); }
.guide-nav .n { width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font: 800 14px/1 var(--head); }
.guide-nav a:hover .n { background: var(--yellow); color: #15161a; border-color: #15161a; }

.sources, .related { max-width: 700px; margin-top: 44px; padding-top: 22px; border-top: 3px solid var(--ink); }
.sources h2, .related h2 { font: 800 22px/1.1 var(--head); margin: 0 0 14px; }
.sources ol, .related ul { margin: 0; padding-left: 1.3em; font-size: 16px; }
.sources li, .related li { margin-bottom: 8px; }
.sources a, .related a { color: var(--link); }

/* About */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding-block: 36px 56px; }
.about-hero .mega { font-size: clamp(38px, 4.4vw, 64px); }
.about-hero .lede { margin: 22px 0 0; }
.about-hero figure { margin: 0; border-radius: 12px; overflow: hidden; border-bottom: 10px solid var(--yellow); }
.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.about-cols h2 { font: 800 26px/1.1 var(--head); font-stretch: 92%; margin: 14px 0 10px; }
.about-cols p { margin: 0 0 1em; color: var(--ink-2); }
.about-close { font: 900 clamp(32px, 4.6vw, 60px)/.95 var(--head); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; margin: 0; max-width: 18ch; }
.btn { display: inline-block; margin-top: 26px; font: 800 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 24px; border-radius: 999px; background: var(--navy); color: #fff; }
.btn:hover { background: var(--ink); }
@media (prefers-color-scheme: dark) { .btn { background: var(--yellow); color: #15161a; } .btn:hover { background: #fff; } }

/* Narrow screens */
@media (max-width: 1000px) {
  .cards, .cover { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-nav { position: static; order: -1; }
}
@media (max-width: 820px) {
  .lead-grid, .poster, .about-hero, .signup-band .wrap, .about-cols { grid-template-columns: minmax(0, 1fr); }
  .poster figure, .about-hero figure { order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-in { min-height: 56px; }
  .brand { font-size: 22px; } .brand img { width: 28px; height: 28px; }
  .top-cta { font-size: 13px; padding: 10px 13px; }
  .subnav .label { font-size: 22px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cover { grid-template-columns: minmax(0, 1fr); }
  .side a { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
  .box li { grid-template-columns: 1fr; gap: 8px; }
  .box .pill { justify-self: start; min-width: 0; }
  .body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
