@import url('https://fonts.googleapis.com/css2?family=Electrolize&family=Roboto:wght@400;500;700&display=swap');


/* =========================================================
   VARIABLES
   ========================================================= */

:root{
  --bg:#efeadd;
  --paper:#fffdf7;
  --ink:#121212;
  --muted:#6d675d;
  --line:#171717;
  --red:#d43831;
  --cyan:#76cbc7;
  --light-blue:#76cbc7;
  --cream:#fff1b8;
  --shadow:8px 8px 0 #171717;
}


/* =========================================================
   RESET
   ========================================================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;

  background:
    var(--bg)
    url("/help/pat701.png")
    repeat fixed;

  background-size:340px auto;

  color:var(--ink);

  font-family:'Roboto',sans-serif;
  font-size:14px;
  line-height:1.4;
}

a{
  color:inherit;
}


/* =========================================================
   PAGE SHELL
   ========================================================= */

.shell{
  width:min(1060px,calc(100% - 28px));
  margin:28px auto 48px;
}


/* =========================================================
   MASTHEAD
   ========================================================= */

.masthead{
  overflow:hidden;

  border:2px solid var(--line);

  background:var(--paper);

  box-shadow:var(--shadow);
}


/* =========================================================
   TOP HEADER BAR
   ========================================================= */

.brandline{
  display:flex;
  align-items:center;
  justify-content:space-between;

  min-height:60px;

  gap:16px;
  padding:7px 14px;

  border-bottom:2px solid var(--line);

  font-family:'Electrolize',sans-serif;
  font-size:12px;
  font-weight:400;

  letter-spacing:.10em;
  text-transform:uppercase;
}

.brandline a{
  text-decoration:none;
}

.brandline .brand-home{
  display:flex;
  align-items:center;

  gap:12px;

  font-family:'Electrolize',sans-serif;
}

.brand-logo{
  display:block;

  width:auto;
  height:46px;

  object-fit:contain;
}

.brand-name{
  display:inline-block;

  font-family:'Electrolize',sans-serif;
  font-size:12px;
  font-weight:400;

  letter-spacing:.10em;
}

.brandline .crumb{
  color:var(--muted);

  font-family:'Electrolize',sans-serif;
  font-size:12px;
  font-weight:400;

  letter-spacing:.10em;
}


/* =========================================================
   CBRA HEADER IMAGE
   FULL WIDTH - NO DISTORTION
   ========================================================= */

.hero-image{
  display:block;

  width:100%;
  height:190px;

  margin:0;

  object-fit:cover;
  object-position:center 50%;

  border:0;
  border-bottom:2px solid var(--line);

  background:#1b120d;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  display:grid;

  grid-template-columns:1.35fr .65fr;

  min-height:260px;
}

.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:clamp(24px,5vw,60px);
}

.kicker{
  margin:0 0 12px;

  font-family:'Roboto',sans-serif;

  font-size:12px;
  font-weight:700;

  letter-spacing:.16em;
  text-transform:uppercase;
}


/* =========================================================
   LARGE TITLES - ELECTROLIZE
   ========================================================= */

h1,
h2,
h3,
.chapter b,
.manifesto,
.route strong,
.linkcard b{
  font-family:'Electrolize',sans-serif;
}

h1{
  margin:0 0 22px;

  font-size:clamp(45px,8vw,94px);
  font-weight:400;

  line-height:.92;

  letter-spacing:-.025em;

  text-transform:uppercase;
}

.lead{
  max-width:760px;

  margin:0;

  font-family:'Roboto',sans-serif;

  font-size:clamp(18px,2.4vw,27px);
  line-height:1.15;
}


/* =========================================================
   HERO ART
   ========================================================= */

.hero-art{
  display:grid;
  place-items:center;

  min-height:260px;

  padding:20px;

  border-left:2px solid var(--line);

  background:var(--cream);
}

.hero-art svg{
  width:min(230px,90%);
  height:auto;
}

.hero-art.beats{
  background:var(--cyan);
}

.hero-art.rephrase{
  background:#e8e3f0;
}

.hero-art.anything{
  background:#f4d8d6;
}

.index-art{
  overflow:hidden;

  padding:8px;

  background:var(--cream);
}


/* =========================================================
   ZEBRA / BARCODE
   ========================================================= */

.zebra-feature{
  display:block;

  width:min(260px,96%);
  max-width:96%;
  max-height:96%;

  height:auto;

  margin:auto;

  object-fit:contain;
  object-position:center;

  filter:none;
}

.hero-feature-image{
  display:block;

  width:min(290px,100%);
  max-width:100%;
  max-height:240px;

  height:auto;

  object-fit:contain;

  filter:drop-shadow(
    4px 5px 0 rgba(17,17,17,.12)
  );
}


/* =========================================================
   OTHER HELP ILLUSTRATIONS
   ========================================================= */

.sticker-art{
  display:block;

  max-width:100%;
  height:auto;

  filter:drop-shadow(
    3px 4px 0 rgba(17,17,17,.10)
  );
}

.cause-sticker{
  width:min(210px,78%);
}

.beats-sticker{
  width:min(170px,72%);
}

.lips-sticker{
  width:min(220px,82%);
}

.sticker-pair{
  position:relative;

  display:grid;
  place-items:center;

  width:min(250px,90%);
  height:210px;
}

.cloud-sticker{
  width:150px;

  transform:translate(-18px,-8px);
}

.heart-sticker{
  position:absolute;

  width:78px;

  right:18px;
  bottom:10px;

  transform:rotate(8deg);
}


/* =========================================================
   FOUR CHAPTERS
   ========================================================= */

.four{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:12px;

  margin-top:26px;
}

.chapter{
  display:flex;
  flex-direction:column;

  min-height:180px;

  padding:16px;

  border:2px solid var(--line);

  background:var(--paper);

  text-decoration:none;

  transition:
    transform .15s,
    box-shadow .15s;
}

.chapter:hover{
  transform:translate(-3px,-3px);

  box-shadow:5px 5px 0 var(--line);
}

.chapter small{
  color:var(--muted);

  font-family:'Roboto',sans-serif;

  font-size:11px;
  font-weight:700;

  letter-spacing:.12em;
}

.chapter b{
  margin:26px 0 8px;

  font-size:25px;
  font-weight:400;

  line-height:1;
}

.chapter span{
  margin-top:auto;

  font-family:'Roboto',sans-serif;

  font-size:12px;
}


/* =========================================================
   CONTENT
   ========================================================= */

.content{
  display:grid;

  grid-template-columns:240px 1fr;

  gap:24px;

  margin-top:34px;
}

.side{
  position:sticky;

  top:18px;

  align-self:start;
}

.sidebox{
  padding:14px;

  border:2px solid var(--line);

  background:var(--paper);

  box-shadow:5px 5px 0 var(--line);
}

.sidebox strong{
  display:block;

  margin-bottom:10px;

  font-family:'Electrolize',sans-serif;

  font-size:13px;
  font-weight:400;

  text-transform:uppercase;
}

.sidebox a{
  display:block;

  padding:7px 4px;

  border-top:1px solid #b9b2a5;

  font-family:'Roboto',sans-serif;

  font-size:13px;

  text-decoration:none;
}

.sidebox a:first-of-type{
  border-top:0;
}

.sidebox a.active{
  padding-left:8px;

  background:var(--ink);
  color:#fff;

  font-weight:700;
}

.main{
  min-width:0;
}


/* =========================================================
   CARDS
   ========================================================= */

.card{
  margin-bottom:22px;

  padding:clamp(18px,3vw,32px);

  border:2px solid var(--line);

  background:var(--paper);

  box-shadow:6px 6px 0 var(--line);
}

.card h2{
  margin:0 0 14px;

  font-size:clamp(26px,4vw,46px);
  font-weight:400;

  line-height:1;

  letter-spacing:-.02em;
}

.card h3{
  margin:0 0 8px;

  font-size:20px;
  font-weight:400;
}

.card p{
  max-width:780px;

  margin:0 0 14px;

  font-family:'Roboto',sans-serif;
}

.card p:last-child{
  margin-bottom:0;
}


/* =========================================================
   GRID
   ========================================================= */

.grid2{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:16px;
}

.tile{
  display:flex;
  flex-direction:column;

  min-height:155px;

  padding:18px;

  border:2px solid var(--line);

  background:#fff;
}

.tile .num{
  margin-bottom:14px;

  color:var(--muted);

  font-family:'Roboto',sans-serif;

  font-size:11px;
  font-weight:700;

  letter-spacing:.12em;
}

.tile h3{
  margin:0 0 9px;

  font-size:24px;
  font-weight:400;

  line-height:1.05;
}

.tile p{
  flex:1;

  font-family:'Roboto',sans-serif;

  font-size:14px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btnrow{
  display:flex;
  flex-wrap:wrap;

  gap:10px;

  margin-top:16px;
}

.btn,
.button{
  display:inline-block;

  padding:10px 14px;

  border:2px solid var(--line);

  background:var(--paper);
  color:var(--ink);

  box-shadow:3px 3px 0 var(--line);

  cursor:pointer;

  font-family:'Roboto',sans-serif;
  font-size:12px;
  font-weight:700;

  line-height:1;

  letter-spacing:.06em;

  text-decoration:none;
  text-transform:uppercase;
}

.btn.primary,
.button.primary{
  background:var(--ink);
  color:#fff;
}

.btn.red{
  background:var(--red);
  color:#fff;
}

.btn:active,
.button:active{
  transform:translate(2px,2px);

  box-shadow:1px 1px 0 var(--line);
}


/* =========================================================
   SPECIAL TEXT
   ========================================================= */

.manifesto{
  font-size:clamp(27px,4.4vw,52px);
  font-weight:400;

  line-height:1.03;

  letter-spacing:-.02em;
}

.quote{
  padding-left:18px;

  border-left:8px solid var(--cyan);

  font-family:'Roboto',sans-serif;

  font-size:21px;

  line-height:1.25;
}


/* =========================================================
   ROUTES
   ========================================================= */

.route{
  display:grid;

  grid-template-columns:42px 1fr;

  align-items:start;

  gap:14px;

  padding:16px 0;

  border-top:1px solid #aaa399;

  font-family:'Roboto',sans-serif;
}

.route:first-child{
  padding-top:0;

  border-top:0;
}

.route:last-child{
  padding-bottom:0;
}

.route .badge{
  display:grid;
  place-items:center;

  width:42px;
  height:42px;

  border:2px solid var(--line);

  border-radius:50%;

  background:var(--cream);

  font-weight:700;
}

.route strong{
  font-size:19px;
  font-weight:400;
}


/* =========================================================
   LINKS
   ========================================================= */

.linklist{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:10px;
}

.linkcard{
  padding:15px;

  border:2px solid var(--line);

  background:#fff;

  text-decoration:none;
}

.linkcard:hover{
  background:var(--cream);
}

.linkcard b{
  display:block;

  font-size:18px;
  font-weight:400;
}

.linkcard span{
  color:var(--muted);

  font-family:'Roboto',sans-serif;

  font-size:12px;
}

.red{
  color:var(--red);
}


/* =========================================================
   PLAYER
   ========================================================= */

.player{
  padding:18px;

  border:2px solid var(--line);

  background:#0f0f0f;
  color:#fff;
}

.searchrow{
  display:grid;

  grid-template-columns:1fr auto;

  gap:10px;
}

.searchrow input{
  width:100%;

  padding:13px 14px;

  border:2px solid #fff;

  background:#191919;
  color:#fff;

  outline:none;

  font-family:'Roboto',sans-serif;
  font-size:15px;
}

.searchrow input:focus{
  border-color:var(--cyan);
}

.player .button{
  border-color:#fff;

  background:#0f0f0f;
  color:#fff;

  box-shadow:3px 3px 0 #fff;
}

.player-actions{
  display:flex;
  flex-wrap:wrap;

  gap:10px;

  margin-top:10px;
}

.player-frame{
  display:grid;
  place-items:center;

  width:100%;

  aspect-ratio:16 / 9;

  margin-top:16px;

  overflow:hidden;

  border:2px solid #fff;

  background:#050505;
}

.player-frame iframe{
  width:100%;
  height:100%;

  border:0;
}

.status{
  margin-top:10px;

  color:#c8c8c8;

  font-family:'Roboto',sans-serif;

  font-size:12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  display:flex;
  justify-content:space-between;

  gap:16px;

  margin-top:34px;

  padding-top:18px;

  border-top:2px solid var(--line);

  color:var(--muted);

  font-family:'Roboto',sans-serif;

  font-size:12px;
}

.micro{
  color:var(--muted);

  font-family:'Roboto',sans-serif;

  font-size:12px;
}


/* =========================================================
   MAP
   ========================================================= */

.map-figure{
  max-width:560px;

  margin:14px auto 16px;

  overflow:hidden;

  border:2px solid var(--line);

  background:#0d1822;

  box-shadow:4px 4px 0 var(--line);
}

.map-figure img{
  display:block;

  width:100%;
  height:auto;

  object-fit:contain;
}

.map-figure figcaption{
  padding:7px 10px;

  border-top:2px solid var(--line);

  background:var(--paper);

  font-family:'Roboto',sans-serif;

  font-size:10px;
  font-weight:700;

  line-height:1.2;

  letter-spacing:.11em;

  text-transform:uppercase;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:520px){

  .shell{
    width:calc(100% - 14px);

    margin:7px auto 30px;
  }


  /* HEADER */

  .brandline{
    min-height:48px;

    padding:4px 8px;

    gap:5px;

    font-size:10px;
  }

  .brand-logo{
    height:34px;
  }

  .brand-name{
    font-size:10px;
  }

  .brandline .crumb{
    font-size:9px;
  }


  /* CBRA IMAGE */

  .hero-image{
    width:100%;
    height:170px;

    object-fit:cover;
    object-position:center 50%;
  }


  /* HERO */

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

  .hero-art{
    min-height:180px;

    border-left:0;
    border-top:2px solid var(--line);
  }

  .hero-copy{
    padding:28px 20px;
  }

  h1{
    font-size:46px;
  }


  /* CONTENT */

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

  .side{
    position:static;
  }

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

  .grid2,
  .linklist{
    grid-template-columns:1fr;
  }

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

  .footer{
    flex-direction:column;
  }
}


/* =========================================================
   EXACT 676 × 384 CBRA CONTENT WINDOW
   ========================================================= */

@media (min-width:521px) and (max-width:820px){

  html,
  body{
    width:100%;

    height:384px;
    min-height:384px;

    margin:0;

    overflow:hidden;
  }

  body{
    background:
      var(--bg)
      url("/help/pat701.png")
      repeat fixed;

    background-size:250px auto;
  }


  /* =======================================================
     SCROLL AREA
     ======================================================= */

  .shell{
    width:100%;
    max-width:676px;

    height:384px;
    min-height:384px;

    margin:0 auto;

    padding:4px 6px 24px 4px;

    overflow-x:hidden;
    overflow-y:scroll;

    overscroll-behavior:contain;

    scrollbar-width:thin;
    scrollbar-color:
      var(--light-blue)
      #333;
  }


  /* Firefox / Chrome / Edge scrollbar */

  .shell::-webkit-scrollbar{
    width:6px;
  }

  .shell::-webkit-scrollbar-track{
    background:#333;

    border-radius:6px;
  }

  .shell::-webkit-scrollbar-thumb{
    background-color:var(--light-blue);

    border-radius:6px;
  }

  .shell::-webkit-scrollbar-thumb:hover{
    background-color:#98dedb;
  }


  /* =======================================================
     MASTHEAD
     ======================================================= */

  .masthead{
    box-shadow:4px 4px 0 var(--line);
  }


  /* =======================================================
     HEADER BAR
     ======================================================= */

  .brandline{
    min-height:42px;

    padding:3px 10px;

    gap:8px;

    font-family:'Electrolize',sans-serif;

    font-size:10px;
    font-weight:400;

    letter-spacing:.08em;
  }

  .brandline .brand-home{
    gap:7px;

    font-family:'Electrolize',sans-serif;
  }

  .brand-logo{
    height:34px;
  }

  .brand-name{
    font-family:'Electrolize',sans-serif;

    font-size:11px;
    font-weight:400;

    letter-spacing:.08em;
  }

  .brandline .crumb{
    font-family:'Electrolize',sans-serif;

    font-size:9px;
    font-weight:400;

    letter-spacing:.08em;

    white-space:nowrap;
  }


  /* =======================================================
     CBRA HEADER IMAGE

     Full width
     Original proportions
     No horizontal stretching
     ======================================================= */

  .hero-image{
    display:block;

    width:100%;
    height:150px;

    margin:0;

    object-fit:cover;
    object-position:center 34%;

    border:0;
    border-bottom:2px solid var(--line);

    background:#1b120d;
  }


  /* =======================================================
     HERO
     ======================================================= */

  .hero{
    grid-template-columns:
      minmax(0,1.48fr)
      minmax(170px,.52fr);

    min-height:225px;
  }

  .hero-copy{
    padding:11px 16px 12px;

    justify-content:center;
  }

  .kicker{
    margin:0 0 6px;

    font-family:'Roboto',sans-serif;

    font-size:9px;
    font-weight:700;

    line-height:1.1;

    letter-spacing:.12em;
  }


  /* MAIN TITLE */

  h1{
    margin:0 0 10px;

    font-family:'Electrolize',sans-serif;

    font-size:39px;
    font-weight:400;

    line-height:.96;

    letter-spacing:-.02em;
  }


  /* BODY TEXT */

  .lead{
    max-width:470px;

    font-family:'Roboto',sans-serif;

    font-size:14px;

    line-height:1.15;
  }


  /* =======================================================
     RIGHT ART AREA
     ======================================================= */

  .hero-art{
    min-height:225px;

    padding:4px;

    border-top:0;
    border-left:2px solid var(--line);
  }

  .index-art{
    padding:4px;
  }


  /* =======================================================
     LARGE ZEBRA / BARCODE
     ======================================================= */

  .zebra-feature{
    display:block;

    width:min(185px,97%);
    max-width:97%;
    max-height:97%;

    height:auto;

    margin:auto;

    object-fit:contain;
    object-position:center;

    filter:none;
  }

  .hero-feature-image{
    width:min(185px,98%);

    max-width:98%;
    max-height:214px;
  }


  /* =======================================================
     OTHER ART
     ======================================================= */

  .cause-sticker{
    width:min(138px,86%);
  }

  .beats-sticker{
    width:min(124px,82%);
  }

  .lips-sticker{
    width:min(142px,86%);
  }

  .sticker-pair{
    width:min(148px,90%);
    height:145px;
  }

  .cloud-sticker{
    width:98px;

    transform:translate(-9px,-4px);
  }

  .heart-sticker{
    width:50px;

    right:2px;
    bottom:4px;
  }


  /* =======================================================
     FOUR CHAPTERS
     ======================================================= */

  .four{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:8px;

    margin-top:12px;
  }

  .chapter{
    min-height:112px;

    padding:10px;
  }

  .chapter small{
    font-size:9px;
  }

  .chapter b{
    margin:13px 0 5px;

    font-family:'Electrolize',sans-serif;

    font-size:20px;
    font-weight:400;
  }

  .chapter span{
    font-size:10px;
  }


  /* =======================================================
     CONTENT
     ======================================================= */

  .content{
    grid-template-columns:1fr;

    gap:12px;

    margin-top:18px;
  }

  .side{
    position:static;
  }

  .sidebox{
    display:flex;
    align-items:center;

    gap:5px;

    padding:7px;

    overflow-x:auto;

    box-shadow:3px 3px 0 var(--line);

    scrollbar-width:thin;
  }

  .sidebox strong{
    display:none;
  }

  .sidebox a{
    flex:0 0 auto;

    padding:5px 7px;

    border:2px solid var(--line)!important;

    white-space:nowrap;

    font-size:9px;
  }

  .sidebox a.active{
    padding-left:7px;
  }


  /* =======================================================
     CARDS
     ======================================================= */

  .card{
    padding:17px;

    margin-bottom:14px;

    box-shadow:4px 4px 0 var(--line);
  }

  .card h2{
    margin-bottom:10px;

    font-family:'Electrolize',sans-serif;

    font-size:31px;
    font-weight:400;
  }

  .card h3{
    font-family:'Electrolize',sans-serif;

    font-size:17px;
    font-weight:400;
  }

  .card p{
    font-family:'Roboto',sans-serif;

    font-size:13px;

    line-height:1.4;
  }


  /* =======================================================
     TILES
     ======================================================= */

  .grid2,
  .linklist{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:9px;
  }

  .tile{
    min-height:126px;

    padding:12px;
  }

  .tile h3{
    font-size:19px;
  }

  .tile p{
    font-size:11px;
  }


  /* =======================================================
     ROUTES
     ======================================================= */

  .route{
    grid-template-columns:34px 1fr;

    gap:10px;

    padding:10px 0;
  }

  .route .badge{
    width:34px;
    height:34px;
  }

  .route strong{
    font-family:'Electrolize',sans-serif;

    font-size:16px;
  }


  /* =======================================================
     BUTTONS
     ======================================================= */

  .btn,
  .button{
    padding:8px 10px;

    font-size:9px;
  }


  /* =======================================================
     MANIFESTO / QUOTE
     ======================================================= */

  .manifesto{
    font-family:'Electrolize',sans-serif;

    font-size:34px;
  }

  .quote{
    font-size:17px;
  }


  /* =======================================================
     PLAYER
     ======================================================= */

  .player{
    padding:12px;
  }

  .searchrow input{
    padding:9px 10px;

    font-size:12px;
  }


  /* =======================================================
     FOOTER
     ======================================================= */

  .footer{
    margin-top:20px;

    padding-top:10px;

    font-size:9px;
  }


  /* =======================================================
     MAP
     ======================================================= */

  .map-figure{
    width:76%;
    max-width:440px;

    margin:10px auto 12px;

    box-shadow:3px 3px 0 var(--line);
  }

  .map-figure img{
    width:100%;
    height:auto;

    object-fit:contain;
  }

  .map-figure figcaption{
    padding:5px 8px;

    font-size:8.5px;
  }
}