/* One continuous box-office ticket. Ink stays sharp; the stock takes the wear. */
body > header.off-ramp-ticket{
 --ticket-ink:#282019;--ticket-red:#693326;--ticket-bone:#f0dfba;--ticket-cut:#1b1713;
 --ticket-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='3' seed='19' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.36'/%3E%3C/svg%3E");
 box-sizing:border-box;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;
 align-items:stretch;justify-content:space-between;gap:0;
 margin:.45rem auto .2rem;padding:0 clamp(.55rem,2.4vw,1.85rem);
 min-height:90px;border:0;border-block:1px solid #9b8063;color:var(--ticket-ink);
 background:var(--ticket-grain),radial-gradient(ellipse at 3% 110%,#7c4b3a60,transparent 33%),radial-gradient(ellipse at 98% -20%,#624c4151,transparent 30%),linear-gradient(102deg,#c7ae87,#dcc9a4 63%,#bba27b);background-blend-mode:multiply,normal,normal,normal;
 box-shadow:inset 0 3px #ffe0a84a,inset 0 -3px #52332438,0 5px 14px #080605a0;
}
body > header.off-ramp-ticket::before,body > header.off-ramp-ticket::after{
 content:"";position:absolute;top:50%;width:12px;height:12px;border-radius:50%;background:var(--ticket-cut);
 pointer-events:none;z-index:2;transform:translateY(-50%);
}
body > header.off-ramp-ticket::before{left:-6px}
body > header.off-ramp-ticket::after{right:-6px}
body > header.off-ramp-ticket a.brand.archive-masthead,
body > header.off-ramp-ticket a.brand.archive-masthead[aria-current="page"]{
 flex:none;max-width:none;margin:0;min-height:50px;padding:.44rem clamp(.56rem,1.18vw,1rem) .44rem 0;
 align-items:center;gap:.52rem;background:none;color:var(--ticket-ink);
 border:0;border-right:1px dashed #58432fab;box-shadow:none;
}
body > header.off-ramp-ticket .archive-masthead img{
 width:clamp(25px,3vw,34.5px);height:clamp(25px,3vw,34.5px);flex:none;filter:grayscale(.8) sepia(.18) contrast(1.3);opacity:.92;
}
body > header.off-ramp-ticket .masthead-name{
 color:var(--ticket-ink);font:640 clamp(1.34rem,2.76vw,2.09rem)/1 Oswald,"Arial Narrow",sans-serif;
 letter-spacing:.017em;text-transform:uppercase;text-shadow:.7px .6px #7d4b2c48;white-space:nowrap;
}
body > header.off-ramp-ticket nav.flyer-nav{
 display:flex;gap:0;min-width:0;max-width:100%;flex:1;flex-wrap:nowrap;justify-content:space-between;
 align-items:stretch;padding:.3rem 0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#725643 transparent;
}
body > header.off-ramp-ticket nav.flyer-nav a,
body > header.off-ramp-ticket nav.flyer-nav a[aria-current="page"]{
 flex:1 0 auto;min-height:44px;border:0;border-right:1px dashed #58432f84;border-radius:0;box-shadow:none;
 align-items:center;justify-content:center;padding:.3rem clamp(.4rem,.92vw,.85rem);
 color:var(--ticket-ink);background:none;text-shadow:none;text-transform:uppercase;
 font:720 clamp(.72rem,1.16vw,.92rem)/1 "Source Sans 3",sans-serif;letter-spacing:.038em;white-space:nowrap;
}
body > header.off-ramp-ticket nav.flyer-nav a:last-child{border-right:0}
body > header.off-ramp-ticket nav.flyer-nav a::before,
body > header.off-ramp-ticket nav.flyer-nav a:nth-child(even)::before,
body > header.off-ramp-ticket nav.flyer-nav a[aria-current="page"]::before{content:none}
body > header.off-ramp-ticket nav.flyer-nav a[aria-current="page"]{
 color:var(--ticket-bone);background:var(--ticket-grain),var(--ticket-red);background-blend-mode:soft-light;
 text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;
}
body > header.off-ramp-ticket nav.flyer-nav a:not([aria-current]):hover{background:#61372324}
body > header.off-ramp-ticket :is(nav.flyer-nav a,a.brand.archive-masthead):focus-visible{outline:2px solid #211912;outline-offset:-3px}
body > header.off-ramp-ticket nav.flyer-nav a[aria-current="page"]:focus-visible{outline-color:#fff2d3}
@media(max-width:790px){
 body > header.off-ramp-ticket{flex-direction:column;gap:0;min-height:0}
 body > header.off-ramp-ticket a.brand.archive-masthead,
 body > header.off-ramp-ticket a.brand.archive-masthead[aria-current="page"]{
  justify-content:flex-start;border-right:0;border-bottom:1px dashed #58432f84;min-height:66px;padding-left:.32rem;
 }
 body > header.off-ramp-ticket nav.flyer-nav{justify-content:flex-start;padding:.12rem 0 .27rem}
 body > header.off-ramp-ticket nav.flyer-nav a{padding-inline:.59rem}
}

/* Pocket wear: damp corners, printer grit and old folds, underneath the type. */
body > header.off-ramp-ticket{
 border-top-color:#4e3729;border-bottom-color:#69503b;
 background:var(--ticket-grain),url("off-ramp-wear.svg") center/100% 100% no-repeat,linear-gradient(105deg,#b79a72,#c6ae88 34%,#ceb994 65%,#ad916b);
 background-blend-mode:multiply,normal,normal;
 box-shadow:inset 0 3px #52342253,inset 0 -4px #3a261e4f,0 6px 13px #080605bf;
}
body > header.off-ramp-ticket nav.flyer-nav a[aria-current="page"]{
 background:var(--ticket-grain),linear-gradient(168deg,#793e2b,#552a22);
 background-blend-mode:overlay,normal;
 box-shadow:inset 1px 2px #fff3d132,inset -2px -2px #25120d79;
}

body > header.off-ramp-ticket .masthead-type{display:flex;flex-direction:column;align-items:flex-start;gap:.27rem}
body > header.off-ramp-ticket .masthead-tagline{display:block;color:#563429;font:650 clamp(.72rem,1vw,.86rem)/1.15 "Source Sans 3",sans-serif;letter-spacing:.045em;text-transform:none}
@media(max-width:360px){body > header.off-ramp-ticket .masthead-name{white-space:normal}}

/* Broken ink, not a new typeface: only the masthead title takes the wear. */
@media (forced-colors:none){
 body > header.off-ramp-ticket .masthead-name{
  color:#282019;text-shadow:.85px .45px #743e2980;
  -webkit-mask:url("masthead-ink-wear.svg") repeat;
  mask:url("masthead-ink-wear.svg") repeat;
 }
}
