/* Asphalt Economics: The Case Files */
:root{
  --paper:#FBF8F1; --ink:#1A1A1A; --muted:#4D4639; --manila:#E8D9B5; --manila-edge:#C9B587;
  --stamp:#B3261E; --link:#1D3557; --rule:#CFC6B2; --white:#FFFFFF;
  --display:'Libre Franklin',system-ui,sans-serif; --body:'Spectral',Georgia,serif; --type:'Courier Prime',ui-monospace,monospace;
  --max:1200px; --read:700px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:19px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--link)} a:hover{color:var(--stamp)}
:focus-visible{outline:3px solid var(--stamp);outline-offset:3px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--paper);padding:10px 14px;z-index:10}
.skip:focus{left:12px;top:12px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 32px}
.type{font-family:var(--type)}
.label{font-family:var(--type);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.stamp{display:inline-block;font-family:var(--type);font-weight:700;font-size:13px;letter-spacing:.1em;color:var(--stamp);border:2px solid var(--stamp);padding:4px 10px;text-transform:uppercase}

/* header */
.site-head{border-bottom:2px solid var(--ink)}
.site-head .wrap{display:flex;flex-wrap:wrap;gap:18px 28px;align-items:flex-end;justify-content:space-between;padding-top:24px;padding-bottom:18px}
.brand{display:flex;gap:14px;align-items:center;text-decoration:none;color:var(--ink)}
.brand img{width:50px;height:auto}
.brand b{display:block;font-family:var(--display);font-weight:900;font-size:28px;letter-spacing:.06em;line-height:1}
.brand span{display:block;font-family:var(--type);font-size:14px;color:var(--muted);margin-top:4px}
.nav{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;font-family:var(--type);font-size:15px}
.nav a{text-decoration:none;color:var(--ink);padding:6px 0}
.nav a:hover{color:var(--stamp)}
.nav .btn{padding:12px 16px}
.btn{display:inline-block;background:var(--ink);color:var(--paper)!important;font-family:var(--type);font-weight:700;font-size:15px;padding:13px 18px;text-decoration:none;border:0;cursor:pointer}
.btn:hover{background:var(--stamp)}
.btn.red{background:var(--stamp)} .btn.red:hover{background:var(--ink)}

/* folder */
.folder-tab{display:inline-block;background:var(--manila);border:1px solid var(--manila-edge);border-bottom:0;padding:9px 20px 7px;font-family:var(--type);font-weight:700;font-size:15px;letter-spacing:.1em}
.folder{background:var(--manila);border:1px solid var(--manila-edge);padding:40px}
.stamps{display:flex;flex-wrap:wrap;gap:10px}
.kicker{font-family:var(--type);font-size:14px;letter-spacing:.08em;color:var(--muted);margin:22px 0 0;text-transform:uppercase}
h1,h2,h3{font-family:var(--display);color:var(--ink)}
.file-title{font-weight:800;font-size:clamp(36px,5vw,58px);line-height:1.04;letter-spacing:-.015em;margin:10px 0 0}
.file-sub{font-family:var(--display);font-weight:600;font-size:clamp(20px,2.4vw,26px);line-height:1.25;margin:10px 0 0;color:var(--muted)}
.dek{font-size:clamp(19px,2vw,22px);line-height:1.5;margin:16px 0 0}
.finding{background:var(--paper);border:1px solid var(--manila-edge);padding:18px 22px;margin-top:24px}
.finding p{margin:0}
.finding .label{color:var(--stamp)}
.finding .text{font-size:21px;font-style:italic;font-weight:500;line-height:1.45;margin-top:6px}
.meta{font-family:var(--type);font-size:14px;color:var(--muted)}
.cta-row{display:flex;flex-wrap:wrap;gap:16px 20px;align-items:center;margin-top:26px}

/* home hero */
.hero{padding:52px 0 16px}
.hero-grid{display:flex;flex-wrap:wrap;gap:44px;align-items:flex-start}
.hero-text{flex:1 1 440px;min-width:0}
.hero-fig{flex:1 1 480px;min-width:0;margin:0;background:var(--white);border:1px solid var(--manila-edge);padding:14px 14px 12px;transform:rotate(.6deg)}
.hero-fig figcaption{font-family:var(--type);font-size:13px;color:var(--muted);margin-top:10px}
.hero-fig .label{margin:0 0 10px}

/* files list */
.files{padding:48px 0 60px}
.files-head{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:flex-end;justify-content:space-between;border-bottom:2px solid var(--ink);padding-bottom:14px}
.files-head h2{font-weight:800;font-size:34px;margin:0}
.search{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
.search label{font-family:var(--type);font-size:14px}
.search input{font-family:var(--type);font-size:16px;padding:12px 14px;width:280px;max-width:100%;border:1px solid #8A7F69;background:var(--white);color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 4px}
.chip{font-family:var(--type);font-size:14px;padding:8px 13px;border:1px solid #8A7F69;background:transparent;color:var(--ink);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.file-row{display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;padding:28px 0;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--ink)}
.file-row:hover h3{color:var(--stamp)}
.file-no{flex:0 0 130px;font-family:var(--type);font-weight:700;font-size:19px;white-space:nowrap;color:var(--muted)}
.file-body{flex:1 1 420px;min-width:0}
.file-body h3{font-weight:700;font-size:26px;line-height:1.22;margin:6px 0 0}
.file-body .find{font-size:18px;line-height:1.5;margin:10px 0 0}
.file-body .find b{font-family:var(--type);font-size:13px;letter-spacing:.12em;color:var(--stamp);margin-right:6px}
.file-thumb{flex:0 0 240px;width:240px;height:150px;object-fit:cover;object-position:top;border:1px solid var(--rule);background:var(--white)}
.noresult{font-style:italic;color:var(--muted);padding:28px 0;display:none}

/* method band */
.method{background:var(--ink);color:var(--paper)}
.method .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px;padding-top:54px;padding-bottom:54px}
.method .label{color:var(--manila)}
.method h2{color:var(--paper);font-weight:800;font-size:30px;line-height:1.15;margin:10px 0 0}
.method h3{font-family:var(--type);font-weight:700;font-size:15px;color:var(--manila);margin:0}
.method p{font-size:18px;line-height:1.55;margin:8px 0 0}

/* subscribe */
.next{padding:56px 0}
.next-box{background:var(--manila);border:1px solid var(--manila-edge);padding:40px;display:flex;flex-wrap:wrap;gap:28px 40px;align-items:center;justify-content:space-between}
.next-box h2{font-weight:800;font-size:clamp(30px,3.4vw,40px);line-height:1.1;margin:0}
.next-box p{margin:10px 0 0;font-size:19px}
.next-text{flex:1 1 400px;min-width:0}
.sub-form{flex:1 1 400px;min-width:0;display:flex;flex-wrap:wrap;gap:10px}
.sub-form label{flex:1 1 100%;font-family:var(--type);font-weight:700;font-size:14px}
.sub-form input{flex:1 1 220px;min-width:0;font-family:var(--type);font-size:17px;padding:14px 16px;border:2px solid var(--ink);background:var(--white);color:var(--ink)}
.sub-form .note{flex:1 1 100%;font-family:var(--type);font-size:13px;color:var(--muted);margin:2px 0 0}
.sub-form .note a,.sub-done a{color:var(--link)}
.sub-done{flex:1 1 400px;min-width:0;font-family:var(--type);outline:none}
.next-box .sub-done p{margin:8px 0 0;font-size:17px}
.next-box .sub-done .sub-done-head{margin:0;font-family:var(--display);font-weight:800;font-size:26px;color:var(--stamp)}
.next-box .sub-done .note{font-size:13px;color:var(--muted)}

/* footer */
.site-foot{border-top:2px solid var(--ink)}
.site-foot .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;justify-content:space-between;align-items:center;padding-top:26px;padding-bottom:34px;font-family:var(--type);font-size:14px}
.social{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center}
.social a{display:inline-flex;gap:8px;align-items:center;text-decoration:none;color:var(--ink);padding:8px 0;min-height:44px}
.social a:hover{color:var(--stamp)}
.social svg{width:18px;height:18px;flex:none}
.social.big{gap:12px;margin-top:18px}
.social.big a{font-family:var(--type);font-size:16px;border:1px solid var(--manila-edge);background:var(--white);padding:10px 16px}
.social.big svg{width:22px;height:22px}

/* article */
.file-head{padding:44px 0 8px}
.file-head .folder{max-width:980px}
.byline{font-family:var(--type);font-size:15px;margin:18px 0 0}
.article{max-width:var(--read);margin:0 auto;padding:40px 24px 20px}
.article p,.article li{font-size:20px;line-height:1.7}
.article h2{font-weight:800;font-size:30px;line-height:1.2;margin:56px 0 0;padding-top:14px;border-top:2px solid var(--ink)}
.article h3{font-weight:700;font-size:23px;line-height:1.3;margin:36px 0 0}
.article ul,.article ol{padding-left:1.3em}
.article li{margin:6px 0}
.article blockquote{margin:28px 0;padding:4px 0 4px 22px;border-left:3px solid var(--stamp);font-style:italic}
.article hr{border:0;border-top:1px solid var(--rule);margin:40px 0}
sup.cite{font-family:var(--type);font-size:.72em;line-height:0;margin-left:1px}
sup.cite a{text-decoration:none;color:var(--stamp);font-weight:700}
sup.cite a:hover{text-decoration:underline}
.exhibit{margin:36px -60px;background:var(--white);border:1px solid var(--manila-edge);padding:14px 14px 12px}
.exhibit .label{margin:0 0 10px}
.exhibit img{margin:0 auto}
.exhibit a{display:block;cursor:zoom-in}
.exhibit .zoom{font-family:var(--type);font-size:13px;margin-top:6px}
.exhibit figcaption{font-family:var(--type);font-size:14px;color:var(--muted);margin-top:10px}
.table-wrap{overflow-x:auto;margin:28px 0;border:1px solid var(--rule);background:var(--white)}
.article table{border-collapse:collapse;width:100%;font-family:var(--type);font-size:15px}
.article th,.article td{padding:10px 12px;border-bottom:1px solid var(--rule);text-align:left;vertical-align:top}
.article thead th{background:var(--ink);color:var(--paper)}
.sources{border-top:2px solid var(--ink);margin-top:56px;padding-top:14px}
.sources h2{border:0;margin:0;padding:0;font-size:24px}
.sources ol{list-style:none;padding:0;margin:16px 0 0}
.sources li{display:flex;gap:12px;font-size:15px;line-height:1.55;margin:0 0 12px;scroll-margin-top:20px}
.sources li .n{flex:0 0 52px;font-family:var(--type);font-weight:700;color:var(--stamp)}
.sources li:target{background:#F3E9CF}
.sources a{word-break:break-word}
.file-notes{margin-top:36px;padding:18px 20px;border:1px dashed var(--manila-edge);font-family:var(--type);font-size:14px;line-height:1.6;color:var(--muted)}
.file-notes p{margin:0 0 8px;font-size:14px;line-height:1.6}
.file-notes p:last-child{margin-bottom:0}
.more{max-width:980px;margin:0 auto;padding:40px 32px 0}
.more h2{font-weight:800;font-size:26px;margin:0;border-bottom:2px solid var(--ink);padding-bottom:10px}

/* about */
.about{max-width:var(--read);margin:0 auto;padding:48px 24px 20px}
.about h1{font-weight:800;font-size:clamp(34px,5vw,50px);line-height:1.05;margin:0}
.about h2{font-weight:800;font-size:26px;margin:40px 0 0}
.about p{font-size:20px;line-height:1.7}

@media (max-width:900px){
  .exhibit{margin:32px 0}
}
@media (max-width:640px){
  body{font-size:18px}
  .wrap{padding:0 18px}
  .folder,.next-box{padding:24px 20px}
  .brand b{font-size:22px}
  .brand img{width:42px}
  .hero{padding-top:32px}
  .hero-fig{transform:none}
  .file-no{flex-basis:100%;font-size:16px}
  .file-thumb{flex:1 1 100%;width:100%;height:180px}
  .article{padding:28px 18px 10px}
  .article p,.article li{font-size:18px}
  .article h2{font-size:25px}
  .search input{width:100%}
  .search{width:100%}
  .sources li .n{flex-basis:40px}
  .more{padding:32px 18px 0}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.key-points{background:var(--paper);border:1px solid var(--manila-edge);border-top:none;padding:14px 22px 16px}
.key-points .label{color:var(--muted);margin:0 0 6px}
.key-points ul{margin:0;padding-left:20px}
.key-points li{font-family:var(--body);font-size:17px;line-height:1.5;margin:6px 0}
.exhibit-text{margin-top:10px;border:1px solid var(--rule);background:var(--white);font-family:var(--body)}
.exhibit-text summary{cursor:pointer;padding:10px 14px;font-family:var(--type);font-size:14px;color:var(--link);min-height:44px;display:flex;align-items:center}
.exhibit-text[open] summary{border-bottom:1px solid var(--rule)}
.exhibit-text > :not(summary){margin:12px 14px;font-size:16px;line-height:1.5}
.exhibit-text table{border-collapse:collapse;width:100%;font-size:15px}
.exhibit-text th,.exhibit-text td{border-bottom:1px solid var(--rule);padding:6px 8px;text-align:left;vertical-align:top}
.exhibit-text ul,.exhibit-text ol{padding-left:20px}
