/* Otto's newsroom: paper, a bar across the top, the heading with where to write beside it, then
   the leading story (with the landing page's shapes adrift in it) and the releases down the side. */
:root { --ink: #131313; --paper: #FAF9F6; --line: #E4E2DC; --soft: #6F6E69; --blue: #6B9DCE; --green: #8CA9A0; --stone: #B0AEA6; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.bar, main { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 3.6vw, 52px); }

.bar { display: flex; align-items: center; gap: 30px; height: 76px; }
.mark { display: block; width: 88px; color: var(--ink); }
.mark svg { display: block; width: 100%; }
.bar nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
.bar nav a { opacity: 0.55; transition: opacity 160ms ease; }
.bar nav a:hover, .bar nav a[aria-current] { opacity: 1; }
.try { margin-left: auto; padding: 9px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; transition: background 180ms ease; }
.try:hover { background: #2b2b2b; }

/* the leading story, in the landing page's dark card: the words on the left, the shapes adrift on the right */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: clamp(340px, 38vw, 480px); margin-top: 6px; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; }
.lead { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); }
.eyebrow { margin: 0 0 auto; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 249, 246, 0.5); }
h1 { margin: 40px 0 0; font-size: clamp(28px, 3.3vw, 44px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
.say { margin: 16px 0 0; max-width: 30em; font-size: 16.5px; line-height: 1.5; color: rgba(250, 249, 246, 0.72); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.meta { margin: 0; font-size: 13px; color: rgba(250, 249, 246, 0.5); }
.ask { display: inline-block; padding: 10px 17px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; transition: opacity 180ms ease; }
.ask:hover { opacity: 0.85; }
.ask[hidden] { display: none; }
.art { position: relative; min-height: 220px; }
.art svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* where to write, and where the files are: three plain links in a row */
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(22px, 3vw, 36px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reach a { padding: 18px 20px 18px 0; font-size: 15px; transition: opacity 160ms ease; }
.reach a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.reach a:hover { opacity: 0.6; }
.reach span { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }

/* everything, newest first, down one line: each kind of news has its own shape on it, as each node of the graph does */
.all { padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 8vw, 104px); }
h2 { margin: 0 0 26px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
ol { margin: 0; padding: 0; list-style: none; }
.line li { display: grid; grid-template-columns: 118px 34px minmax(0, 1fr); }
.line time { padding-top: 2px; font-size: 13.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.line .dot { position: relative; display: flex; justify-content: center; }
.line .dot::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.line li:first-child .dot::before { top: 10px; }
.line li:last-child .dot::before { bottom: calc(100% - 10px); }
.line .dot i { position: relative; margin-top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--stone); box-shadow: 0 0 0 5px var(--paper); }
.line li[data-kind="Announcements"] .dot i { width: 20px; height: 9px; margin-top: 6px; border-radius: 999px; background: var(--blue); }
.line li[data-kind="Releases"] .dot i { border-radius: 2.5px; background: var(--green); }
.line .body { display: block; padding: 0 0 30px 12px; }
.line h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; transition: opacity 160ms ease; }
.line a.body:hover h3 { opacity: 0.6; }
.line p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.5; color: #55544f; }
.line .kind { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.line li.wait { display: block; height: 70px; margin-bottom: 14px; border-radius: 10px; background: linear-gradient(100deg, #f1efea 30%, #f7f5f1 50%, #f1efea 70%); background-size: 200% 100%; animation: wait 1.4s linear infinite; }
@keyframes wait { to { background-position: -200% 0; } }
#more { display: inline-block; margin: 4px 0 0 152px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--soft); font: 500 14px/1 inherit; font-family: inherit; cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
#more:hover { color: var(--ink); border-color: var(--stone); }
#more[hidden] { display: none; }

/* the foot of every page but the first: who this is, and where its papers are */
.foot { background: var(--ink); color: var(--paper); }
.foot .inner { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(20px, 3.6vw, 52px) 36px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot .mark { width: 92px; color: var(--paper); }
.foot .who p { margin: 16px 0 0; max-width: 260px; font-size: 14px; line-height: 1.5; color: rgba(250, 249, 246, 0.55); }
.foot h3 { margin: 4px 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(250, 249, 246, 0.45); }
.foot nav a { display: block; padding: 5px 0; font-size: 14px; color: rgba(250, 249, 246, 0.82); transition: color 160ms ease; }
.foot nav a:hover { color: #fff; }
.foot .small { max-width: 1320px; margin: 0 auto; padding: 18px clamp(20px, 3.6vw, 52px) 30px; border-top: 1px solid rgba(250, 249, 246, 0.1); font-size: 12.5px; color: rgba(250, 249, 246, 0.45); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; border-radius: 22px; }
  .art { order: -1; min-height: 200px; }
  h1 { margin-top: 28px; }
  .reach { grid-template-columns: 1fr; }
  .reach a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .bar { gap: 20px; height: 68px; }
  .mark { width: 78px; }
  .bar nav { gap: 18px; font-size: 13.5px; }
  .try { padding: 8px 13px; font-size: 13.5px; }
  .line li { grid-template-columns: 30px minmax(0, 1fr); }
  .line time { grid-column: 2; grid-row: 1; padding: 0 0 4px 12px; }
  .line .dot { grid-column: 1; grid-row: 1 / span 2; }
  .line .body { grid-column: 2; }
  #more { margin-left: 42px; }
  .foot .inner { grid-template-columns: 1fr 1fr; }
  .foot .who { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .bar nav a:first-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .line li.wait { animation: none; } }
