/* Built from the nyj mockup by tools/build-css.mjs. Do not edit by hand. */

  /* Option B, "city magazine". Kept: logo, black header, dark nav bar, red #dd3333, Merriweather, Inter, the markets strip.
     New: a cinematic lead with headline over the photo, a numbered Top stories row, a black "Tonight in New York" band,
     Money & Markets with a markets box, a Technology rail, three section columns. The article page is the same as Option A. */
  .hqm {
    --bg: #fff; --ink: #121212; --muted: #5a5a5a; --line: #e2e2e2; --accent: #dd3333; --bar: #1d1d1d;
    --display: "Merriweather", Georgia, serif; --body: "Inter", system-ui, sans-serif; --label: "Inter", system-ui, sans-serif;
    --img-bg: #eee; --max: 1280px;
    --prose-size: 18px; --tk-bg: #f5f5f3; --tk-border: 0; --tk-label: #121212;
  }
  .hqm .kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .hqm .meta { font-size: 13px; color: var(--muted); }

  .hqm .ticker { background: #0b0b0b; color: #ddd; font-size: 12.5px; overflow: hidden; white-space: nowrap; border-bottom: 1px solid #222; }
  .hqm .ticker .wrap { display: flex; gap: 30px; height: 34px; align-items: center; }
  .hqm .ticker b { color: #fff; font-weight: 600; margin-right: 6px; } .hqm .up { color: #3ecf8e; } .hqm .down { color: #ff6b6b; }
  .hqm header.top { background: #000; }
  .hqm header.top .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
  .hqm header.top .logo img { height: 40px; width: auto; }
  .hqm .hbtn { margin-left: auto; background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 4px; }
  .hqm header.top svg { width: 22px; height: 22px; color: #fff; }
  .hqm nav.cats { background: var(--bar); }
  .hqm nav.cats .wrap { display: flex; gap: 24px; height: 44px; align-items: center; color: #fff; font-size: 14px; font-weight: 500; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .hqm nav.cats a.on { color: var(--accent); }
  .hqm .dateline { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 3px double var(--ink); font-size: 13px; color: var(--muted); }

  .hqm .front { display: grid; grid-template-columns: 1fr 2fr 1fr; padding-top: 28px; }
  .hqm .front > * { padding: 0 24px; }
  .hqm .front > *:first-child { padding-left: 0; } .hqm .front > *:last-child { padding-right: 0; }
  .hqm .front > * + * { border-left: 1px solid var(--line); }
  .hqm .col a { display: block; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
  .hqm .col a:last-child { border-bottom: 0; }
  .hqm .col h3 { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.32; margin: 8px 0 8px; }
  .hqm .col p { font-size: 14.5px; color: #333; line-height: 1.55; }
  .hqm .lead h1 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; margin: 16px 0 12px; }
  .hqm .lead p { font-size: 17px; color: #333; }
  .hqm .lead .more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
  .hqm .lead .more h3 { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.35; margin-top: 10px; }
  .hqm .side a { display: grid; grid-template-columns: 1fr 84px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hqm .side h3 { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.35; }
  .hqm .side h2, .hqm .block h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
  .hqm a:hover h3, .hqm a:hover h1 { color: var(--accent); }

  .hqm .blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 56px; }
  .hqm .block a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hqm .block a:first-of-type h3 { font-size: 19px; margin-top: 12px; }
  .hqm .block h3 { font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.35; }

  .hqm .news { margin-top: 64px; background: #000; color: #fff; }
  .hqm .news .wrap { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
  .hqm .news h2 { font-family: var(--display); font-weight: 900; font-size: 26px; }
  .hqm .news p { color: #bbb; margin-top: 6px; }
  .hqm .news form { display: flex; gap: 8px; flex: 1; max-width: 460px; }
  .hqm .news input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; border-radius: 4px; }
  .hqm .news button { border: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 0 18px; border-radius: 4px; cursor: pointer; }
  .hqm footer { padding: 30px 0 90px; font-size: 13.5px; color: var(--muted); }

  /* Article */
  .hqm .a-head { max-width: 760px; margin: 0 auto; padding: 44px 20px 24px; }
  .hqm .a-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 14px 0 16px; }
  .hqm .a-head .dek { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.6; color: #333; }
  .hqm .a-head .meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; }
  .hqm .a-img { max-width: 1000px; margin: 12px auto 8px; padding: 0 20px; }
  .hqm .a-cap { max-width: 1000px; margin: 0 auto 40px; padding: 0 20px; font-size: 13px; color: var(--muted); }
  .hqm .prose h2 { font-weight: 900; font-size: 1.4em; }
  .hqm .takeaways { border-top: 3px solid var(--ink); }

  @media (max-width: 1000px) {
    .hqm .front { grid-template-columns: 1fr 1fr; } .hqm .lead { grid-column: 1 / -1; order: -1; padding: 0 0 24px !important; border-left: 0 !important; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
    .hqm .front > .col { padding-left: 0; border-left: 0; } .hqm .front > .side { padding-right: 0; }
    .hqm .blocks { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .hqm header.top .wrap { height: 60px; } .hqm header.top .logo img { height: 26px; } .hqm .hbtn { font-size: 13px; padding: 7px 12px; }
    .hqm .dateline span + span { display: none; }
    .hqm .front { grid-template-columns: 1fr; } .hqm .front > .side { padding-left: 0; border-left: 0; }
    .hqm .blocks { grid-template-columns: 1fr; }
    .hqm .a-head .dek { font-size: 17.5px; }
  }
  .hqm { --btn-radius: 4px; }
  .hqm .cv-cover { --cv-mast: #000; --cv-mast-mid: rgba(0,0,0,.92); --cv-issue: #fff; }
  /* Category sections */
  .hqm .nsec { padding-top: 56px; }
  .hqm .nsec > h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
  .hqm .wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .hqm .wide .big h3 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1.2; margin: 14px 0 10px; }
  .hqm .wide .big p { color: #333; font-size: 16px; }
  .hqm .wide .list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hqm .wide .list a:first-child { padding-top: 0; }
  .hqm .wide .list h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.35; margin-top: 6px; }
  .hqm .cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .hqm .cards4 h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.35; margin: 12px 0 6px; }
  .hqm .cards4 p { font-size: 14px; color: var(--muted); }
  .hqm .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .hqm .cols3 a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hqm .cols3 h3 { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.35; margin-top: 6px; }
  @media (max-width: 1000px) { .hqm .wide { grid-template-columns: 1fr; } .hqm .cards4 { grid-template-columns: 1fr 1fr; } .hqm .cols3 { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .hqm .cards4, .hqm .cols3 { grid-template-columns: 1fr; } }
  /* Option B homepage */
  .hqm .tvtape { height: 48px; overflow: hidden; border-bottom: 1px solid var(--line); } /* the strip only; its "Ticker tape by TradingView" line sits below and is cut off, as on the old homepage */
  .hqm .b-hero { position: relative; margin-top: 24px; overflow: hidden; }
  .hqm .b-hero .r-21x9 { aspect-ratio: 21 / 9; }
  .hqm .b-hero .over { position: absolute; inset: auto 0 0; padding: 120px 40px 36px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
  .hqm .b-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; max-width: 22ch; margin: 12px 0 12px; }
  .hqm .b-hero p { font-size: 18px; color: #e8e8e8; max-width: 62ch; }
  .hqm .b-hero .kicker { background: var(--accent); color: #fff; padding: 5px 9px; }
  .hqm .top4 { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .hqm .top4 a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 22px 20px 22px 0; }
  .hqm .top4 a + a { padding-left: 20px; border-left: 1px solid var(--line); }
  .hqm .top4 .n { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--accent); }
  .hqm .top4 h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; line-height: 1.35; }
  .hqm .bsec { padding-top: 60px; }
  .hqm .bsec > .hd { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
  .hqm .bsec > .hd h2 { font-family: var(--display); font-weight: 900; font-size: 30px; }
  .hqm .bsec > .hd span { flex: 1; height: 3px; background: var(--ink); align-self: center; }
  .hqm .tonight { background: #000; color: #fff; margin-top: 64px; padding: 52px 0 56px; }
  .hqm .tonight .hd h2 { color: #fff; } .hqm .tonight .hd span { background: var(--accent); }
  .hqm .tn { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
  .hqm .tn .big h3 { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.15; margin: 14px 0 10px; }
  .hqm .tn .big p { color: #bbb; }
  .hqm .tn .side a { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 16px 0; border-bottom: 1px solid #262626; align-items: center; }
  .hqm .tn .side a:first-child { padding-top: 0; }
  .hqm .tn .side h3 { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.35; margin-top: 6px; }
  .hqm .tonight a:hover h3 { color: #ff8a8a; }
  .hqm .money { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .hqm .money .nl a { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hqm .money .nl a:first-child { padding-top: 0; }
  .hqm .money .nl .n { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; color: var(--accent); }
  .hqm .money .nl h3 { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; }
  .hqm .money .nl p { font-size: 14px; color: var(--muted); margin-top: 6px; }
  .hqm .mkt { border: 1px solid var(--ink); padding: 20px 22px; }
  .hqm .mkt h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
  .hqm .mkt .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .hqm .mkt .row b { font-weight: 600; } .hqm .mkt .note { font-size: 12px; color: var(--muted); margin-top: 8px; }
  .hqm .mkt + a { display: block; margin-top: 22px; }
  .hqm .mkt + a h3 { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; margin-top: 12px; }
  .hqm .rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 5.4); gap: 20px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 10px; }
  .hqm .rail h3 { font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.35; margin-top: 12px; }
  .hqm .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .hqm .three h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid var(--accent); margin-bottom: 14px; }
  .hqm .three a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hqm .three a:first-of-type { padding-top: 0; }
  .hqm .three a:first-of-type h3 { font-size: 19px; margin-top: 12px; }
  .hqm .three h3 { font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.35; }
  .hqm .dense { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .hqm .dense a { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; }
  .hqm .dense h3 { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.35; margin-top: 4px; }
  @media (max-width: 1000px) {
    .hqm .top4 { grid-template-columns: 1fr 1fr; } .hqm .top4 a:nth-child(3) { padding-left: 0; border-left: 0; }
    .hqm .tn, .hqm .money { grid-template-columns: 1fr; } .hqm .three { grid-template-columns: 1fr; } .hqm .dense { grid-template-columns: 1fr; }
    .hqm .rail { grid-auto-columns: 42%; }
  }
  @media (max-width: 640px) {
    .hqm .b-hero { background: #111; } .hqm .b-hero .r-21x9 { aspect-ratio: 3 / 2; } .hqm .b-hero .over { position: static; padding: 18px 18px 22px; background: #111; } .hqm .b-hero h1 { font-size: 27px; margin: 10px 0 10px; } .hqm .b-hero p { font-size: 15px; line-height: 1.5; }
    .hqm .top4 { grid-template-columns: 1fr; } .hqm .top4 a:nth-child(n) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
    .hqm .rail { grid-auto-columns: 70%; }
    .hqm .bsec > .hd h2 { font-size: 24px; }
  }
