@font-face {
      font-family: "Radial";
      src: url("/Radial Regular.otf") format("opentype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Radial";
      src: url("/Radial Semi Bold.otf") format("opentype");
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Radial";
      src: url("/Radial Bold.otf") format("opentype");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Radial";
      src: url("/Radial Heavy.otf") format("opentype");
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }

    :root{
      --bg:#f35a08;
      --ink:#050505;
      --line:rgba(5,5,5,.28);
      --line-strong:rgba(5,5,5,.9);
      --soft:rgba(5,5,5,.72);
      --max:1440px;
      --story-w:1080px;
      --story-h:1920px;
      --story-preview-scale:0.32;
    }

    *{
      box-sizing:border-box;
      margin:0;
      padding:0;
    }

    html,body{
      background:var(--bg);
      color:var(--ink);
    }

    body{
      font-family:"Radial", Arial, sans-serif;
      min-height:100vh;
      -webkit-font-smoothing:antialiased;
      text-rendering:optimizeLegibility;
    }

    a{
      color:inherit;
      text-decoration:none;
    }

    button{
      font:inherit;
      color:inherit;
      background:none;
      border:none;
      cursor:pointer;
    }

    .page{
      width:min(calc(100% - 80px), var(--max));
      margin:0 auto;
      padding:14px 0 44px;
    }

    .topbar{
      display:grid;
      grid-template-columns:auto 1fr auto;
      gap:18px;
      align-items:center;
      border-bottom:1px solid var(--line-strong);
      padding-bottom:14px;
    }

    .brand{
      font-size:14px;
      line-height:1;
      font-weight:700;
      letter-spacing:-0.01em;
      white-space:nowrap;
    }

    .topnav{
      display:flex;
      justify-content:flex-end;
      flex-wrap:wrap;
      gap:10px 18px;
      align-items:center;
    }

    .nav-btn,
    .lang-btn{
      font-size:12px;
      line-height:1;
      padding:0 0 2px;
      border-bottom:1px solid transparent;
      color:var(--soft);
      transition:color .15s ease, border-color .15s ease;
    }

    .nav-btn:hover,
    .lang-btn:hover{
      color:var(--ink);
    }

    .nav-btn.active,
    .lang-btn.active{
      color:var(--ink);
      border-color:var(--ink);
    }

    /* Link to the Instagram account, in the header of every page. */
    .ig-follow{
      display:inline-flex;
      align-items:center;
      gap:7px;
      font-size:12px;
      line-height:1;
      font-weight:700;
      color:var(--ink);
      text-decoration:none;
      border:1px solid var(--line-strong);
      padding:7px 10px 6px;
      white-space:nowrap;
      transition:background-color .15s ease, color .15s ease;
    }

    .ig-follow:hover,
    .ig-follow:focus-visible{
      background:var(--ink);
      color:var(--bg);
    }

    .ig-follow svg{
      flex:0 0 auto;
    }

    .hero{
      padding:24px 0 20px;
      border-bottom:1px solid var(--line-strong);
    }

    .hero-logo{
      width:min(560px, 100%);
    }

    .hero-logo svg{
      display:block;
      width:100%;
      height:auto;
    }

    .hero-logo .st0{
      fill:var(--ink);
    }

    .hero-logo #dot-i{
      transform-box:fill-box;
      transform-origin:center bottom;
      animation:bounceDot 1.5s ease-in-out infinite;
    }

    @keyframes bounceDot {
      0%, 100% { transform: translateY(0) scale(1, 1); }
      10% { transform: translateY(0) scale(1.08, 0.92); }
      28% { transform: translateY(-16px) scale(0.96, 1.04); }
      42% { transform: translateY(0) scale(1.05, 0.90); }
      56% { transform: translateY(-6px) scale(0.98, 1.02); }
      70% { transform: translateY(0) scale(1, 0.96); }
    }

    .hero-text{
      margin-top:16px;
      max-width:10.5em;
      font-size:clamp(28px, 3vw, 42px);
      line-height:.96;
      letter-spacing:-0.03em;
      font-weight:400;
    }

    .hero-count{
      margin-top:20px;
      display:flex;
      align-items:baseline;
      gap:10px;
    }

    .hero-count[hidden]{
      display:none;
    }

    .hero-count-number{
      font-size:clamp(44px, 5vw, 72px);
      line-height:.9;
      letter-spacing:-0.04em;
      font-weight:900;
    }

    .hero-count-label{
      font-size:14px;
      line-height:1;
      letter-spacing:.02em;
      text-transform:uppercase;
      color:var(--soft);
    }

    .section-head{
      display:grid;
      grid-template-columns:1fr auto;
      gap:16px;
      align-items:end;
      padding:18px 0 10px;
      border-bottom:1px solid var(--line-strong);
    }

    .section-title{
      font-size:clamp(28px, 3vw, 40px);
      line-height:.96;
      letter-spacing:-0.03em;
      font-weight:600;
    }

    .section-meta{
      font-size:12px;
      line-height:1;
      color:var(--soft);
      font-weight:400;
    }

    .feed{
      display:grid;
      gap:0;
    }

    .entry{
      display:grid;
      grid-template-columns:140px 1fr;
      gap:22px;
      padding:18px 0 22px;
      border-bottom:1px solid var(--line);
    }

    .entry-meta{
      display:grid;
      gap:4px;
      align-content:start;
      font-size:12px;
      line-height:1.35;
    }

    .entry-date{
      font-weight:600;
    }

    .entry-source,
    .entry-tag{
      color:var(--soft);
      font-weight:400;
    }

    .entry-tag{
      cursor:pointer;
    }

    .entry-body{
      min-width:0;
    }

    .entry-title{
      font-size:clamp(28px, 3.3vw, 60px);
      line-height:.93;
      letter-spacing:-0.03em;
      font-weight:600;
      font-style:normal;
      max-width:12em;
    }

    .entry-summary{
      margin-top:10px;
      max-width:42em;
      font-size:15px;
      line-height:1.36;
      font-weight:400;
    }

    .entry-quote{
      margin-top:10px;
      max-width:34em;
      font-size:clamp(18px, 2vw, 24px);
      line-height:1.04;
      letter-spacing:-0.015em;
      font-style:italic;
      font-weight:400;
    }

    .entry-link{
      display:inline-block;
      margin-top:12px;
      font-size:12px;
      line-height:1;
      border-bottom:1px solid var(--ink);
      padding-bottom:2px;
    }

    .entry-actions{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:14px;
    }

    .entry-export-btn{
      border:1px solid var(--ink);
      background:transparent;
      color:var(--ink);
      font-family:"Radial", Arial, sans-serif;
      font-size:12px;
      line-height:1;
      padding:9px 10px 8px;
    }

    .empty{
      padding:24px 0 30px;
      border-bottom:1px solid var(--line);
      font-size:22px;
      line-height:1.1;
      font-weight:400;
      max-width:16em;
    }

    .footer{
      display:grid;
      grid-template-columns:1fr;
      gap:24px;
      border-top:1px solid var(--line-strong);
      margin-top:20px;
      padding-top:16px;
    }

    .footer-block h3{
      font-size:13px;
      line-height:1;
      font-weight:600;
      margin-bottom:10px;
    }

    .footer-block p{
      max-width:30em;
      font-size:13px;
      line-height:1.35;
      color:var(--soft);
      font-weight:400;
    }

    .export-wrap{
      position:fixed;
      inset:0;
      background:rgba(0,0,0,.45);
      display:none;
      align-items:center;
      justify-content:center;
      padding:24px;
      z-index:9999;
    }

    .export-wrap.active{
      display:flex;
    }

    .export-panel{
      background:var(--bg);
      color:var(--ink);
      border:1px solid var(--ink);
      width:min(96vw, 640px);
      padding:14px;
    }

    .export-toolbar{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:10px;
      margin-bottom:14px;
      flex-wrap:wrap;
    }

    .export-toolbar-left{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }

    .export-toolbar button{
      border:1px solid var(--ink);
      background:transparent;
      color:var(--ink);
      font-family:"Radial", Arial, sans-serif;
      font-size:12px;
      line-height:1;
      padding:9px 10px 8px;
    }

    .export-toolbar button:disabled{
      opacity:.45;
      cursor:progress;
    }

    .share-status{
      width:100%;
      min-height:1.2em;
      font-size:11px;
      line-height:1.2;
      color:var(--soft);
    }

    .ig-share-btn{
      display:inline-flex;
      align-items:center;
      gap:8px;
      border:1px solid var(--ink);
      background:var(--ink);
      color:var(--bg);
      font-family:"Radial", Arial, sans-serif;
      font-size:12px;
      line-height:1;
      padding:9px 12px 8px;
    }

    .ig-share-icon{
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }

    .export-stage{
      display:flex;
      justify-content:center;
      align-items:flex-start;
      overflow:auto;
      max-height:78vh;
      background:rgba(5,5,5,.04);
      padding:12px;
    }

    .story-preview-shell{
      width:calc(var(--story-w) * var(--story-preview-scale));
      height:calc(var(--story-h) * var(--story-preview-scale));
      overflow:hidden;
      flex:0 0 auto;
    }

    .story-canvas{
      display:block;
      width:100%;
      height:100%;
    }

    @media (max-width: 900px){
      .page{
        width:min(calc(100% - 32px), var(--max));
      }

      .topbar{
        grid-template-columns:1fr;
        gap:10px;
      }

      .topnav{
        justify-content:flex-start;
      }

      .ig-follow{
        justify-self:start;
      }

      .entry{
        grid-template-columns:1fr;
        gap:10px;
      }

      .footer{
        grid-template-columns:1fr;
      }
    }

    @media (max-width: 640px){
      .hero-text{
        font-size:22px;
        max-width:12em;
      }

      .section-head{
        grid-template-columns:1fr;
      }

      .entry-title{
        font-size:32px;
        max-width:none;
      }

      .export-panel{
        width:100%;
        padding:10px;
      }
    }

/* Incident pages */
.brand{ display:inline-block; }
h1.entry-title{ max-width:14em; }
.entry-credit{ margin-top:10px; font-size:12px; line-height:1.35; color:var(--soft); }
.entry-back{ margin-left:18px; }
.empty.not-found{ border-bottom:0; }
.related .entry{ padding:14px 0 16px; }
.related .entry-title{ font-size:clamp(20px, 2vw, 32px); max-width:18em; }
